btrfs: minor bs != ps cases fixes for free space tree enforcing
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs: only enforce free space tree if v1 cache is required for bs < ps casesfs/ | +5 | 0 replies | |
| 2/2 | btrfs: forcing free space tree for bs > ps casesfs/ | +1 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Filipe Manana |
|---|---|
| Series | R-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] btrfs: minor bs != ps cases fixes for free space tree enforcing
I'm update btrfs/131 to remove the v1 cache usage since v1 cache is already marked deprecated.
With that update, I can run the test on bs < ps and bs > ps cases, the formal failed due to the following reason:
- Free space cache is always enforced for bs < ps case Even if 'nospace_cache' mount option is provided. This is fixed by the first patch
And during tests I also exposed a minor problem for bs > ps cases:
- v1 cache mount is rejected for bs > ps cases
That's because we lack the automatic free space tree enforcing for bs > ps cases.
This is fixed by the second patch.
Qu Wenruo (2):
btrfs: only enforce free space tree if v1 cache is required for bs <
ps cases
btrfs: forcing free space tree for bs > ps cases
fs/btrfs/super.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-)
Signature · 1 line
2.52.0