]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita7e114b9d5131e9769db80fc61f8216ba4d7fcf8
tree5335af505ce38262b8d2c6bdaa7b925427aa5f42
parentd13b63f1976b6cdb7a2c2eeac175bdf226d4ecf9
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