[SCSI] make blk layer set REQ_SOFTBARRIER on defer and requeue
authorTejun Heo <htejun@gmail.com>
Sun, 24 Apr 2005 07:04:21 +0000 (02:04 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Fri, 20 May 2005 17:53:26 +0000 (12:53 -0500)
commit2e759cd4fa60c6df4cb117848274f444c2c0a12d
tree973c2fd1725208de2d0a0ccd99b9fadd93a845fc
parent354d6b2196c8e53e55e8f169804256ab9c72731d
[SCSI] make blk layer set REQ_SOFTBARRIER on defer and requeue

This is the reworked version of the patch.  It sets REQ_SOFTBARRIER
in two places - in elv_next_request() on BLKPREP_DEFER and in
blk_requeue_request().

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/block/elevator.c