From: Nikanth Karthikesan Date: Tue, 24 Mar 2009 11:29:54 +0000 (+0100) Subject: loop: support barrier writes X-Git-Tag: v2.6.30-rc1~660^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68db1961bbf4e16c220ccec4a780e966bc1fece3;p=pandora-kernel.git 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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed