Junichi, 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. [0] https://patchwork.kernel.org/patch/7183351/ Luis