gfs2: Rework freeze / thaw logic
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | gfs2: Rename remaining "transaction" glock referencesfs/ fs/ fs/ +2 more | +9 | 0 replies | |
| 2/8 | gfs2: Rename the {freeze, thaw}_super callbacksfs/ fs/ | +7 | 0 replies | |
| 3/8 | gfs2: Rename gfs2_freeze_lock{ => _shared }fs/ fs/ fs/ +2 more | +12 | 0 replies | |
| 4/8 | gfs2: Reconfiguring frozen filesystem already rejectedfs/ | +0 | 0 replies | |
| 5/8 | gfs2: Rename SDF_{FS_FROZEN => FREEZE_INITIATOR}fs/ fs/ fs/ +1 more | +7 | 0 replies | |
| 6/8 | gfs2: Rework freeze / thaw logicfs/ fs/ fs/ +4 more | +185 | 2 replies | |
| 6/8 | gfs2: Rework freeze / thaw logic | +0 | 0 replies | |
| 6/8 | gfs2: Rework freeze / thaw logic | +0 | 0 replies | |
| 7/8 | gfs2: Replace sd_freeze_state with SDF_FROZEN flagfs/ fs/ fs/ +4 more | +18 | 0 replies | |
| 8/8 | gfs2: gfs2_freeze_lock_shared cleanupfs/ fs/ fs/ +1 more | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Cluster-devel] [PATCH 0/8] gfs2: Rework freeze / thaw logic
Currently, filesystem freeze is implemented inside freeze_go_sync(), a glock state transition callback. It turns out that in some scenarios, freezing the filesystem in such a callback can deadlock. To prevent that from happening, rework the freeze / thaw logic and move it out of the glock state engine.
Andreas Gruenbacher (8):
gfs2: Rename remaining "transaction" glock references
gfs2: Rename the {freeze,thaw}_super callbacks
gfs2: Rename gfs2_freeze_lock{ => _shared }
gfs2: Reconfiguring frozen filesystem already rejected
gfs2: Rename SDF_{FS_FROZEN => FREEZE_INITIATOR}
gfs2: Rework freeze / thaw logic
gfs2: Replace sd_freeze_state with SDF_FROZEN flag
gfs2: gfs2_freeze_lock_shared cleanup
fs/gfs2/glock.c | 4 +- fs/gfs2/glops.c | 52 +++++------- fs/gfs2/incore.h | 10 +-- fs/gfs2/log.c | 11 +-- fs/gfs2/ops_fstype.c | 15 +--- fs/gfs2/recovery.c | 28 +++---- fs/gfs2/super.c | 186 +++++++++++++++++++++++++++++++++---------- fs/gfs2/super.h | 1 + fs/gfs2/sys.c | 4 +- fs/gfs2/trans.c | 3 +- fs/gfs2/util.c | 45 ++++------- fs/gfs2/util.h | 3 +- 12 files changed, 206 insertions(+), 156 deletions(-)
Signature · 1 line
2.40.0