Fix sys_sync() bug and cleanup code (version 2)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | vfs: Fix sys_sync() and fsync_super() reliability (version 2)fs/ fs/ include/ | +30 | 0 replies | |
| 2/4 | vfs: Call ->sync_fs() even if s_dirt is 0 (version 2)fs/ | +1 | 0 replies | |
| 3/4 | vfs: Make __fsync_super() a static function (version 2)fs/ fs/ include/ | +3 | 3 replies | |
| 4/4 | vfs: Make sys_sync() use fsync_super() (version 2)fs/ fs/ fs/ +3 more | +39 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] Fix sys_sync() bug and cleanup code (version 2)
Hi,
this is a next version of my series of patches to fix sys_sync(). The bug
could result in not all data being safely on disk after sys_sync() returns. It also fixes the same issue in fsync_super() which leads to assertion failure in JBD with Jens's per-BDI writeback patches.
The first patch fixes the data integrity problem, the other three patches are
various cleanups.
Honza