nfs: mirroring support for direct io
authorWeston Andros Adamson <dros@primarydata.com>
Fri, 19 Sep 2014 16:48:33 +0000 (12:48 -0400)
committerTom Haynes <loghyr@primarydata.com>
Tue, 3 Feb 2015 19:06:46 +0000 (11:06 -0800)
commit0a00b77b331a0e4aac461d4e920677661256918a
tree5335af505ce38262b8d2c6bdaa7b925427aa5f42
parenta7d42ddb3099727f58366fa006f850a219cce6c8
nfs: mirroring support for direct io

The current mirroring code only notices short writes to the first
mirror. This patch keeps per-mirror byte counts and only considers
a byte to be written once all mirrors report so.

Signed-off-by: Weston Andros Adamson <dros@primarydata.com>
fs/nfs/direct.c