[PATCH v2 3/5] vfs: track per-sb writeback errors and report them to syncfs

2018-05-31 Thread Jeff Layton
From: Jeff Layton Usually we suggest that applications call fsync when they want to ensure that all data written to the file has made it to the backing store, but that can be inefficient when there are a lot of open files. Calling syncfs on the filesystem can be more efficient in some

[PATCH v2 3/5] vfs: track per-sb writeback errors and report them to syncfs

2018-05-31 Thread Jeff Layton
From: Jeff Layton Usually we suggest that applications call fsync when they want to ensure that all data written to the file has made it to the backing store, but that can be inefficient when there are a lot of open files. Calling syncfs on the filesystem can be more efficient in some