All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Theodore Ts'o" <tytso@mit.edu>
To: Jeffle Xu <jefflexu@linux.alibaba.com>, adilger.kernel@dilger.ca
Cc: "Theodore Ts'o" <tytso@mit.edu>,
	joseph.qi@linux.alibaba.com, linux-ext4@vger.kernel.org,
	hsiangkao@linux.alibaba.com, enwlinux@gmail.com
Subject: Re: [PATCH v2] ext4: fix reserved space counter leakage
Date: Wed, 15 Sep 2021 23:01:12 -0400	[thread overview]
Message-ID: <163176124738.2478144.17001941380733337.b4-ty@mit.edu> (raw)
In-Reply-To: <20210823061358.84473-1-jefflexu@linux.alibaba.com>

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 <tytso@mit.edu>

      parent reply	other threads:[~2021-09-16  3:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-23  6:13 [PATCH v2] ext4: fix reserved space counter leakage Jeffle Xu
2021-08-23 20:30 ` Eric Whitney
2021-08-25  1:38   ` JeffleXu
2021-09-06  6:46     ` JeffleXu
2021-09-10  5:48       ` Gao Xiang
2021-09-16  3:01 ` Theodore Ts'o [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=163176124738.2478144.17001941380733337.b4-ty@mit.edu \
    --to=tytso@mit.edu \
    --cc=adilger.kernel@dilger.ca \
    --cc=enwlinux@gmail.com \
    --cc=hsiangkao@linux.alibaba.com \
    --cc=jefflexu@linux.alibaba.com \
    --cc=joseph.qi@linux.alibaba.com \
    --cc=linux-ext4@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.