fs: Various I_DIRTY_* state handling fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest13 patches 10 repliesIn review
- v113 patches 9 repliesSuperseded
Changes in v2 from the cover letter
* Fixed orangefs checking of inode dirtiness
* Added Reviewed-by & Acked-by tags
* Added Fixes tags
* Made gfs2_fsync() conversion more bug-to-bug compatible
Patches in v2 No applies recorded yet
Reviews trailers per patch
5 of 13 patches have a Reviewed-by or Acked-by.
| Patch | Carlos Maiolino | Jeff Layton | Chuck Lever | Andreas Gruenbacher | Pankaj Raghav (Samsung) |
|---|---|---|---|---|---|
| 1/13 | R-b | ||||
| 2/13 | R-b | R-b | |||
| 3/13 | |||||
| 4/13 | |||||
| 5/13 | |||||
| 6/13 | R-b | ||||
| 7/13 | |||||
| 8/13 | |||||
| 9/13 | R-b | ||||
| 10/13 | |||||
| 11/13 | R-b | A-b | |||
| 12/13 | |||||
| 13/13 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.
Cover letter [PATCH v2 0/13] fs: Various I_DIRTY_* state handling fixes
Hello,
this series is a result of my audit of I_DIRTY_* state handling fixes. Over the years some pointless code or code with smaller or larger bugs has accumulated in filesystems around handling of inode dirty state. In particular testing for I_DIRTY_PAGES is very subtle (and racy without holding i_lock), some places forget that I_DIRTY_TIME also means inode has dirty metadata etc. So this patch set removes direct checks of dirtiness state from filesystems and either change them to directly testing PAGECACHE_TAG_DIRTY or to a helper function which performs appropriate dirtiness check reliably.
Changes since v1:
* Fixed orangefs checking of inode dirtiness
* Added Reviewed-by & Acked-by tags
* Added Fixes tags
* Made gfs2_fsync() conversion more bug-to-bug compatible
Honza
Previous versions: