+13
−7
+17
−0
+2
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Block layer alignment was used for two different purposes - memory
alignment and padding. This causes problems in lower layers because
drivers which only require memory alignment ends up with adjusted
rq->data_len. Separate out padding such that padding occurs iff
driver explicitly requests it.
Tomo: restorethe code to update bio in blk_rq_map_user
introduced by the commit 40b01b9b
according to padding alignment.
Signed-off-by:
Tejun Heo <htejun@gmail.com>
Signed-off-by:
FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by:
Jens Axboe <jens.axboe@oracle.com>