From: Richard Weinberger Date: Sun, 18 Aug 2013 11:30:06 +0000 (+0200) Subject: um: ubd: Add REQ_FLUSH suppport X-Git-Tag: v3.12-rc1~94^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=805f11a0d515658106bfbfadceff0eb30bd90ad2;p=pandora-kernel.git um: ubd: Add REQ_FLUSH suppport UML's block device driver does not support write barriers, to support this this patch adds REQ_FLUSH suppport. Every time the block layer sends a REQ_FLUSH we fsync() now our backing file to guarantee data consistency. Reported-and-tested-by: Richard W.M. Jones Signed-off-by: Richard Weinberger --- Reading git-diff-tree failed