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-01-23 05:24:17 -05:00
2008-02-01 12:26:37 -05:00
2008-02-25 17:29:35 -05:00
2008-01-31 11:25:51 +11:00
2008-01-23 05:24:10 -05:00
2008-02-15 13:51:24 -05:00
2008-02-03 17:08:11 +02:00
2007-10-20 01:02:48 +02:00
2008-02-03 17:08:11 +02:00
2008-01-23 05:24:13 -05:00
2007-11-23 19:33:27 -05:00
2008-02-03 17:08:11 +02:00
2008-01-31 11:25:51 +11:00
2008-02-11 14:30:07 -05:00
2008-01-23 05:24:15 -05:00
2008-02-15 13:51:22 -05:00
2008-02-03 17:08:11 +02:00
2008-01-23 05:24:17 -05:00
2008-01-23 05:24:14 -05:00
2008-01-23 05:24:15 -05:00
2008-01-23 05:24:14 -05:00
2008-01-23 05:24:10 -05:00
2008-01-23 05:24:15 -05:00
2007-07-02 10:17:42 -04:00