aboutsummaryrefslogtreecommitdiff
path: root/block/scsi_ioctl.c
diff options
context:
space:
mode:
authorNikanth Karthikesan <knikanth@suse.de>2009-03-24 12:29:54 +0100
committerJens Axboe <jens.axboe@oracle.com>2009-03-24 12:35:18 +0100
commit68db1961bbf4e16c220ccec4a780e966bc1fece3 (patch)
tree8101ee12fb24abd2e794ecadfedbc0e0c6859891 /block/scsi_ioctl.c
parent05378940caf979a8655c18b18a17213dcfa52412 (diff)
loop: support barrier writes
Honour barrier requests in the loop back block device driver. In case of barrier bios, flush the backing file once before processing the barrier and once after to guarantee ordering. In case of filesystems that does not support fsync, barrier bios would be failed with -EOPNOTSUPP. Signed-off-by: Nikanth Karthikesan <knikanth@suse.de> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/scsi_ioctl.c')
0 files changed, 0 insertions, 0 deletions