xfs: don't commit sunit/swidth updates to disk if that would cause repair failures
Get series with b4
b4 am 157669784202.117895.9984764081860081830.stgit@magnoliaVersions newest first · linked by author and title
- v4 posting 2/27 patches 18 repliesIn review
- v3 posting 2/26 patches 13 repliesSuperseded
- v2 posting 3/36 patches 0 repliesSuperseded
Earlier versions · 6
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v5 Latest | 3 patches | 5 replies | In review | |
| v4 posting 1/2 | 1 patch | 1 reply | Superseded | |
| v3 posting 1/2 | 1 patch | 2 replies | Superseded | |
| v2 posting 2/3 | 1 patch | 2 replies | Superseded | |
| v2 posting 1/3 | 6 patches | 14 replies | Superseded | |
| v1 | 1 patch | 4 replies | Superseded |
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | xfs: refactor agfl length computation functionfs/ | +13 | 2 replies | |
| 2/3 | xfs: split the sunit parameter update into two partsfs/ | +75 | 1 reply | |
| 3/3 | xfs: don't commit sunit/swidth updates to disk if that would cause repair failuresfs/ fs/ fs/ +1 more | +136 | 2 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Brian Foster |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/3] xfs: don't commit sunit/swidth updates to disk if that would cause repair failures
Hi all,
Alex Lyakas discovered that it's possible to mount a filesystem with sunit/swidth options that will cause a subsequent xfs_repair run to fail to find the root directory. This series adds some code to strengthen the kernel's mount option checking to avoid updating the superblock if this happens.
If you're going to start using this mess, you probably ought to just pull from my git trees, which are linked below.
This is an extraordinary way to destroy everything. Enjoy! Comments and questions are, as always, welcome.
--D
kernel git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=sunit-updates