diff options
author | Takahiro Yasui <tyasui@redhat.com> | 2009-01-06 04:04:59 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2009-01-06 04:04:59 +0100 |
commit | 6f3af01cb0eda0ec50fe1e4cbdf028269dc396fe (patch) | |
tree | 29988ebe5a40ee1092bdbeac45eb0bdc312ff670 /drivers/edac/i3000_edac.c | |
parent | dm: consolidate target deregistration error handling (diff) | |
download | linux-6f3af01cb0eda0ec50fe1e4cbdf028269dc396fe.tar.xz linux-6f3af01cb0eda0ec50fe1e4cbdf028269dc396fe.zip |
dm log: avoid reinitialising io_req on every operation
rw_header function updates three members of io_req data every time
when I/O is processed. bi_rw and notify.fn are never modified once
they get initialized, and so they can be set in advance.
header_to_disk() can also be pulled out of write_header() since only one
caller needs it and write_header() can be replaced by rw_header()
directly.
Signed-off-by: Takahiro Yasui <tyasui@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/edac/i3000_edac.c')
0 files changed, 0 insertions, 0 deletions