On 02/15/18 07:59, Luis R. Rodriguez wrote:
> curious if you ever got to adapt a test case for xfstests for your patch
> "fs: global sync to not clear error status of individual inodes", which
> got merged as of v4.4 as:
> aa750fd71c242dba02ee2034e15fbd7d0cdb2461 mm/filemap.c: make global sync not
> clear error status of individual inodes
> You said you'd work on it, so curious if you ever got to it.
>  https://patchwork.kernel.org/patch/7183351/
I had adapted the test for xfstests and posted at the time but it
didn't go further. I guess recent kernel changes in this area also
added related test cases to xfstests.
xfstests: test data-writeback error detection with fsync
Jun'ichi Nomura, NEC Corporation / NEC Solution Innovators, Ltd.