Thread (6 messages) 6 messages, 4 authors, 2021-09-16

Re: [PATCH v2] ext4: fix reserved space counter leakage

From: "Theodore Ts'o" <tytso@mit.edu>
Date: 2021-09-16 03:01:36

On Mon, 23 Aug 2021 14:13:58 +0800, Jeffle Xu wrote:
When ext4_insert_delayed block receives and recovers from an error from
ext4_es_insert_delayed_block(), e.g., ENOMEM, it does not release the
space it has reserved for that block insertion as it should. One effect
of this bug is that s_dirtyclusters_counter is not decremented and
remains incorrectly elevated until the file system has been unmounted.
This can result in premature ENOSPC returns and apparent loss of free
space.

[...]
Applied, thanks!

[1/1] ext4: fix reserved space counter leakage
      commit: 8ec5146a46609a89658e5dc9bc40b70ce70ef43b

Best regards,
-- 
Theodore Ts'o [off-list ref]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help