linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH e2fsprogs v2 0/4] quota-related e2fsck fixes and tests
@ 2024-04-04 11:10 Luis Henriques (SUSE)
  2024-04-04 11:10 ` [PATCH v2 1/4] e2fsck: update quota accounting after directory optimization Luis Henriques (SUSE)
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Luis Henriques (SUSE) @ 2024-04-04 11:10 UTC (permalink / raw)
  To: Theodore Ts'o, Andreas Dilger; +Cc: linux-ext4, Luis Henriques (SUSE)

Hi!

I'm (re)sending two fixes to e2fsck that are related with quota handling.
The fixes are the first two patches, the other two are test cases for these
fixes.

As I mentioned in v1, the issues were found using fstests ext4/014 and
ext4/019.  And the only thing in this series that changed from v1 was the
first test ("tests: new test to check quota after directory optimization"),
which is now using a much simplified version of the testcase.

Note that, since the first two patches didn't change, they have already a

Reviewed-by: Andreas Dilger <adilger@dilger.ca>

which I'm not including in the patches themselves.  Should I?  Or is that
better left for the maintainer (eventually) applying them?

Cheers,
-- 
Luis

Luis Henriques (SUSE) (4):
  e2fsck: update quota accounting after directory optimization
  e2fsck: update quota when deallocating a bad inode
  tests: new test to check quota after directory optimization
  tests: new test to check quota after a bad inode deallocation

 e2fsck/pass2.c                          |  33 +++++++++++++++++-------
 e2fsck/rehash.c                         |  27 ++++++++++++++-----
 tests/f_quota_deallocate_inode/expect.1 |  18 +++++++++++++
 tests/f_quota_deallocate_inode/expect.2 |   7 +++++
 tests/f_quota_deallocate_inode/image.gz | Bin 0 -> 11594 bytes
 tests/f_quota_deallocate_inode/name     |   1 +
 tests/f_quota_shrinkdir/expect.1        |  18 +++++++++++++
 tests/f_quota_shrinkdir/expect.2        |   7 +++++
 tests/f_quota_shrinkdir/image.gz        | Bin 0 -> 10761 bytes
 tests/f_quota_shrinkdir/name            |   1 +
 10 files changed, 96 insertions(+), 16 deletions(-)
 create mode 100644 tests/f_quota_deallocate_inode/expect.1
 create mode 100644 tests/f_quota_deallocate_inode/expect.2
 create mode 100644 tests/f_quota_deallocate_inode/image.gz
 create mode 100644 tests/f_quota_deallocate_inode/name
 create mode 100644 tests/f_quota_shrinkdir/expect.1
 create mode 100644 tests/f_quota_shrinkdir/expect.2
 create mode 100644 tests/f_quota_shrinkdir/image.gz
 create mode 100644 tests/f_quota_shrinkdir/name


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-04-04 20:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-04 11:10 [PATCH e2fsprogs v2 0/4] quota-related e2fsck fixes and tests Luis Henriques (SUSE)
2024-04-04 11:10 ` [PATCH v2 1/4] e2fsck: update quota accounting after directory optimization Luis Henriques (SUSE)
2024-04-04 11:10 ` [PATCH v2 2/4] e2fsck: update quota when deallocating a bad inode Luis Henriques (SUSE)
2024-04-04 17:25   ` Andreas Dilger
2024-04-04 20:23     ` Luis Henriques
2024-04-04 11:10 ` [PATCH v2 3/4] tests: new test to check quota after directory optimization Luis Henriques (SUSE)
2024-04-04 11:10 ` [PATCH v2 4/4] tests: new test to check quota after a bad inode deallocation Luis Henriques (SUSE)
2024-04-04 17:27   ` Andreas Dilger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).