commit | 68db1961bbf4e16c220ccec4a780e966bc1fece3 | [log] [tgz] |
---|---|---|
author | Nikanth Karthikesan <knikanth@suse.de> | Tue Mar 24 12:29:54 2009 +0100 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Mar 24 12:35:18 2009 +0100 |
tree | 8101ee12fb24abd2e794ecadfedbc0e0c6859891 | |
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>