Files
linux/drivers
Takahiro Yasui 6f3af01cb0 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>
2009-01-06 03:04:59 +00:00
..
2008-12-31 19:56:05 +01:00
2009-01-02 10:19:43 -08:00
2008-12-31 18:07:38 -05:00
2009-01-04 13:33:20 -08:00
2009-01-02 16:12:51 +01:00