Tejun Heo e3790c7d42 block: separate out padding from alignment
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 40b01b9bbdf51ae543a04744283bf2d56c4a6afa
      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>
2008-03-04 11:18:17 +01:00
..
2008-03-03 10:47:14 -08:00
2008-02-05 09:44:23 -08:00
2008-02-06 10:41:15 -08:00
2008-02-24 20:03:42 +01:00
2008-02-08 09:22:38 -08:00
2008-02-19 15:52:27 -08:00
2008-03-03 10:47:14 -08:00
2008-02-07 08:42:23 -08:00
2008-02-14 21:13:33 -08:00
2008-02-13 16:21:19 -08:00
2008-03-03 10:47:14 -08:00
2008-03-03 10:47:13 -08:00
2008-02-23 17:12:14 -08:00
2008-03-03 10:47:13 -08:00
2008-02-26 14:12:09 +09:00
2008-02-23 17:12:14 -08:00
2008-02-21 15:27:07 -08:00
2008-03-03 10:47:14 -08:00