public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Gao Xiang <xiang@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-erofs@lists.ozlabs.org, LKML <linux-kernel@vger.kernel.org>,
	chao@kernel.org, Yue Hu <zbestahu@gmail.com>
Subject: [GIT PULL] erofs fixes for 6.13-rc4
Date: Tue, 17 Dec 2024 22:23:58 +0800	[thread overview]
Message-ID: <Z2GJfmDTrzh0mM8P@debian> (raw)

Hi Linus,

Could you consider these three fixes for 6.13-rc4?

The first one fixes a syzbot UAF report caused by a commit introduced
in this cycle, but it also addresses a longstanding memory leak.  The
second one resolves a PSI memstall mis-accounting issue.

The remaining patches switch file-backed mounts to use buffered I/Os
by default instead of direct I/Os, since the page cache of underlay
files is typically valid and maybe even dirty.  This change also aligns
with the default policy of loopback devices.  A mount option has been
added to try to use direct I/Os explicitly.

All commits have been in -next and no potential merge conflict
is observed.

Thanks,
Gao Xiang

The following changes since commit 40384c840ea1944d7c5a392e8975ed088ecf0b37:

  Linux 6.13-rc1 (2024-12-01 14:28:56 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-6.13-rc4-fixes

for you to fetch changes up to 6422cde1b0d5a31b206b263417c1c2b3c80fe82c:

  erofs: use buffered I/O for file-backed mounts by default (2024-12-16 21:02:07 +0800)

----------------------------------------------------------------
Changes since last update:

 - Fix (pcluster) memory leak and (sbi) UAF after umounting;

 - Fix a case of PSI memstall mis-accounting;

 - Use buffered I/Os by default for file-backed mounts.

----------------------------------------------------------------
Gao Xiang (6):
      erofs: fix rare pcluster memory leak after unmounting
      erofs: fix PSI memstall accounting
      erofs: add erofs_sb_free() helper
      erofs: use `struct erofs_device_info` for the primary device
      erofs: reference `struct erofs_device_info` for erofs_map_dev
      erofs: use buffered I/O for file-backed mounts by default

Yue Hu (1):
      MAINTAINERS: erofs: update Yue Hu's email address

 MAINTAINERS         |  2 +-
 fs/erofs/data.c     | 36 +++++++++----------------
 fs/erofs/fileio.c   |  9 ++++---
 fs/erofs/fscache.c  | 10 +++----
 fs/erofs/internal.h | 15 ++++-------
 fs/erofs/super.c    | 78 +++++++++++++++++++++++++++++------------------------
 fs/erofs/zdata.c    |  4 +--
 fs/erofs/zutil.c    |  7 ++---
 8 files changed, 79 insertions(+), 82 deletions(-)

             reply	other threads:[~2024-12-17 14:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-17 14:23 Gao Xiang [this message]
2024-12-17 17:24 ` [GIT PULL] erofs fixes for 6.13-rc4 pr-tracker-bot

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=Z2GJfmDTrzh0mM8P@debian \
    --to=xiang@kernel.org \
    --cc=chao@kernel.org \
    --cc=linux-erofs@lists.ozlabs.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    --cc=zbestahu@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox