diff options
author | Nikanth Karthikesan <knikanth@suse.de> | 2009-03-24 12:29:54 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-03-24 12:35:18 +0100 |
commit | 68db1961bbf4e16c220ccec4a780e966bc1fece3 (patch) | |
tree | 8101ee12fb24abd2e794ecadfedbc0e0c6859891 /sound/sh | |
parent | 05378940caf979a8655c18b18a17213dcfa52412 (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 'sound/sh')
0 files changed, 0 insertions, 0 deletions