All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHSET V3] block/xfs: bdev page cache bug fixes for 6.15
@ 2025-04-22  1:18 Darrick J. Wong
  2025-04-22  1:18 ` [PATCH 1/3] block: fix race between set_blocksize and read paths Darrick J. Wong
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Darrick J. Wong @ 2025-04-22  1:18 UTC (permalink / raw)
  To: cem, axboe, djwong
  Cc: hch, mcgrof, linux-fsdevel, mcgrof, linux-block,
	shinichiro.kawasaki, linux-xfs, hch, willy

Hi all,

Here are a handful of bugfixes for 6.15.  The first patch fixes a race
between set_blocksize and block device pagecache manipulation; the rest
removes XFS' usage of set_blocksize since it's unnecessary.

v1: clean up into something reviewable
v2: split block and xfs patches, add reviews
v3: rebase to 6.15-rc3, no other dependencies

If you're going to start using this code, I strongly recommend pulling
from my git trees, which are linked below.

With a bit of luck, this should all go splendidly.
Comments and questions are, as always, welcome.

--D

kernel git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=bdev-fixes-6.15
---
Commits in this patchset:
 * block: fix race between set_blocksize and read paths
 * block: hoist block size validation code to a separate function
 * xfs: stop using set_blocksize
---
 include/linux/blkdev.h |    1 +
 block/bdev.c           |   50 ++++++++++++++++++++++++++++++++++++++++++------
 block/blk-zoned.c      |    5 ++++-
 block/fops.c           |   16 +++++++++++++++
 block/ioctl.c          |    6 ++++++
 fs/xfs/xfs_buf.c       |   15 +++++++++++---
 6 files changed, 82 insertions(+), 11 deletions(-)


^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PATCHSET V4] block/xfs: bdev page cache bug fixes for 6.15
@ 2025-04-23 19:53 Darrick J. Wong
  2025-04-23 19:53 ` [PATCH 2/3] block: hoist block size validation code to a separate function Darrick J. Wong
  0 siblings, 1 reply; 9+ messages in thread
From: Darrick J. Wong @ 2025-04-23 19:53 UTC (permalink / raw)
  To: cem, djwong, axboe
  Cc: hch, mcgrof, shinichiro.kawasaki, hch, willy, linux-xfs,
	linux-fsdevel, shinichiro.kawasaki, linux-block, mcgrof

Hi all,

Here are a handful of bugfixes for 6.15.  The first patch fixes a race
between set_blocksize and block device pagecache manipulation; the rest
removes XFS' usage of set_blocksize since it's unnecessary.  I think this
is ready for merging now.

v1: clean up into something reviewable
v2: split block and xfs patches, add reviews
v3: rebase to 6.15-rc3, no other dependencies
v4: add more tags

If you're going to start using this code, I strongly recommend pulling
from my git trees, which are linked below.

With a bit of luck, this should all go splendidly.
Comments and questions are, as always, welcome.

--D

kernel git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=bdev-fixes-6.15
---
Commits in this patchset:
 * block: fix race between set_blocksize and read paths
 * block: hoist block size validation code to a separate function
 * xfs: stop using set_blocksize
---
 include/linux/blkdev.h |    1 +
 block/bdev.c           |   50 ++++++++++++++++++++++++++++++++++++++++++------
 block/blk-zoned.c      |    5 ++++-
 block/fops.c           |   16 +++++++++++++++
 block/ioctl.c          |    6 ++++++
 fs/xfs/xfs_buf.c       |   15 +++++++++++---
 6 files changed, 82 insertions(+), 11 deletions(-)


^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PATCHSET V2] block/xfs: bdev page cache bug fixes for 6.15
@ 2025-04-21 17:18 Darrick J. Wong
  2025-04-21 17:19 ` [PATCH 2/3] block: hoist block size validation code to a separate function Darrick J. Wong
  0 siblings, 1 reply; 9+ messages in thread
From: Darrick J. Wong @ 2025-04-21 17:18 UTC (permalink / raw)
  To: djwong, cem, axboe
  Cc: hch, shinichiro.kawasaki, linux-mm, mcgrof, linux-fsdevel,
	linux-xfs, willy, hch, linux-block

Hi all,

Here are a handful of bugfixes for 6.15.  The first patch fixes a race
between set_blocksize and block device pagecache manipulation; the rest
removes XFS' usage of set_blocksize since it's unnecessary.

If you're going to start using this code, I strongly recommend pulling
from my git trees, which are linked below.

With a bit of luck, this should all go splendidly.
Comments and questions are, as always, welcome.

--D

kernel git tree:
https://git.kernel.org/cgit/linux/kernel/git/djwong/xfs-linux.git/log/?h=bdev-fixes-6.15
---
Commits in this patchset:
 * block: fix race between set_blocksize and read paths
 * block: hoist block size validation code to a separate function
 * xfs: stop using set_blocksize
---
 include/linux/blkdev.h |    1 +
 block/bdev.c           |   50 ++++++++++++++++++++++++++++++++++++++++++------
 block/blk-zoned.c      |    5 ++++-
 block/fops.c           |   16 +++++++++++++++
 block/ioctl.c          |    6 ++++++
 fs/xfs/xfs_buf.c       |   15 +++++++++++---
 6 files changed, 82 insertions(+), 11 deletions(-)


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

end of thread, other threads:[~2025-04-23 19:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-22  1:18 [PATCHSET V3] block/xfs: bdev page cache bug fixes for 6.15 Darrick J. Wong
2025-04-22  1:18 ` [PATCH 1/3] block: fix race between set_blocksize and read paths Darrick J. Wong
2025-04-22  7:21   ` Shinichiro Kawasaki
2025-04-22  1:18 ` [PATCH 2/3] block: hoist block size validation code to a separate function Darrick J. Wong
2025-04-22  4:19   ` Christoph Hellwig
2025-04-22  1:19 ` [PATCH 3/3] xfs: stop using set_blocksize Darrick J. Wong
2025-04-22  4:19   ` Christoph Hellwig
  -- strict thread matches above, loose matches on Subject: below --
2025-04-23 19:53 [PATCHSET V4] block/xfs: bdev page cache bug fixes for 6.15 Darrick J. Wong
2025-04-23 19:53 ` [PATCH 2/3] block: hoist block size validation code to a separate function Darrick J. Wong
2025-04-21 17:18 [PATCHSET V2] block/xfs: bdev page cache bug fixes for 6.15 Darrick J. Wong
2025-04-21 17:19 ` [PATCH 2/3] block: hoist block size validation code to a separate function Darrick J. Wong

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.