btrfs: squota lifetime fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | btrfs: check for subvolume before deleting squota qgroupfs/ | +26 | 0 replies | |
| 2/4 | btrfs: fix squota accounting during enable generationfs/ fs/ | +28 | 0 replies | |
| 3/4 | btrfs: clamp to avoid squota underflowfs/ | +13 | 1 reply | |
| 4/4 | btrfs: swallow btrfs_record_squota_delta() enoentfs/ | +1 | 1 reply |
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 | Qu Wenruo |
|---|---|
| Series | R-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] btrfs: squota lifetime fixes
A recent report of read-only filesystems since enabling squotas:
https://lore.kernel.org/linux-btrfs/[email protected]/
led me to investigate a handful of issues in squotas and find some trivial and not so trivial bugs in their lifetime management. The aim of the series is to strengthen enforcement of the invariant: "a squota qgroup must outlast extents that are accounted to it".
This series consists of two fixes to squota lifetime bugs and two patches that reduce the consequences of errors in lifetime management from full fs goes read-only abort to "warning and inaccurate squotas which can be deleted eventually"
Additional improvements to btrfs check and fstests to follow.
Boris Burkov (4):
btrfs: check for subvolume before deleting squota qgroup
btrfs: fix squota accounting during enable generation
btrfs: clamp to avoid squota underflow
btrfs: swallow btrfs_record_squota_delta() enoent
fs/btrfs/fs.h | 1 + fs/btrfs/qgroup.c | 99 ++++++++++++++++++++++++++++++++--------------- 2 files changed, 68 insertions(+), 32 deletions(-)
Signature · 1 line
2.54.0