Fix filesystem freezing
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 16 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | fs: Improve filesystem freezing handlingfs/ include/ | +134 | 6 replies | |
| 2/4 | vfs: Protect write paths by sb_start_write - sb_end_writefs/ fs/ mm/ | +10 | 2 replies | |
| 3/4 | ext4: Protect ext4_page_mkwrite with sb_start_write - sb_end_writefs/ | +2 | 0 replies | |
| 4/4 | xfs: Protect xfs_file_aio_write() with sb_start_write - sb_end_writefs/ | +4 | 2 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Theodore Ts'o |
|---|---|
| Series | A-b |
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] Fix filesystem freezing
Hello,
filesystem freezing is currently racy and thus we can end up with dirty data
on frozen filesystem (see changelog of the first patch for detailed race description and proposed fix). This patch series aims at fixing this. So far I did basic testing using UML linux (running fsstress and bash-shared-mapping while doing freeze - sync (to deadlock on leftover dirty pages) - unfreeze) and I'm not able to trigger dirty pages on frozen filesystem anymore. I plan to do more testing on real machine tomorrow. Surbhi, Kamal, you were able to reproduce deadlocks due to dirty data as well so please test these patches out. Thanks. Also review of patches is welcome.
Honza