xfs: support on by default errortags
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | xfs: support on by default errortagsfs/ fs/ | +43 | 0 replies | |
| 2/3 | xfs: convert extent alloc debug fallback to errortagfs/ fs/ fs/ | +7 | 0 replies | |
| 3/3 | xfs: convert sparse inode alloc debug fallback to errortagfs/ fs/ fs/ | +11 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] xfs: support on by default errortags
Hi all,
This is a quick side quest based on the discussion on the iomap folio batch series here[1]. I could see this going a number of different ways and/or being enhanced in the future. For example, we could have per-tag warning state instead of the global op state, dynamic default configuration, put this behind a kconfig option, etc. My goal here is really just to implement enough to keep things simple and pretty close to existing XFS_DEBUG behavior.
Ultimately if people are Ok with something like this, I'll change the force zero tag in the iomap series to on by default. If not, I'll just leave it as is and go with a custom test. Otherwise, this survives a first run through fstests without any explosions or spurious failures.
Thoughts, reviews, flames appreciated.
Brian
[1] https://lore.kernel.org/linux-fsdevel/[email protected]/
Brian Foster (3):
xfs: support on by default errortags
xfs: convert extent alloc debug fallback to errortag
xfs: convert sparse inode alloc debug fallback to errortag
fs/xfs/libxfs/xfs_alloc.c | 5 +--- fs/xfs/libxfs/xfs_errortag.h | 6 ++++- fs/xfs/libxfs/xfs_ialloc.c | 14 ++++------- fs/xfs/xfs_error.c | 48 ++++++++++++++++++++++++++++++++++-- fs/xfs/xfs_mount.h | 3 +++ 5 files changed, 60 insertions(+), 16 deletions(-)
Signature · 1 line
2.49.0