diff options
author | Richard Weinberger <richard@nod.at> | 2013-08-18 13:30:06 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2013-09-07 10:56:49 +0200 |
commit | 805f11a0d515658106bfbfadceff0eb30bd90ad2 (patch) | |
tree | 2bcfbc9028d5a92875272302bd9e7daf82b4e4be /samples | |
parent | um: Implement probe_kernel_read() (diff) | |
download | linux-805f11a0d515658106bfbfadceff0eb30bd90ad2.tar.xz linux-805f11a0d515658106bfbfadceff0eb30bd90ad2.zip |
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 <rjones@redhat.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions