All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] btrfs: sector size < page size enhancement
@ 2024-10-30  6:33 Qu Wenruo
  2024-10-30  6:33 ` [PATCH 1/6] btrfs: fix double accounting of ordered extents during errors Qu Wenruo
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Qu Wenruo @ 2024-10-30  6:33 UTC (permalink / raw)
  To: linux-btrfs

This series contains several sector size < page size fixes and
optimization:

- Pass generic/563 with 4k sector size and 16K/64K page size
  The last patch.

  The test case is a special cgroup one, which requires the fs to avoid
  reading the whole folio as long as the buffered write range is btrfs
  sector aligned.

- Fix generic/750 failure with 4K sector size and 16K/64K page size
  It's a double ordered extent accounting for sector size < page size
  cases.
  The first patch.

The remaining are all preparations for the above goals.

It's now rebased to the latest misc-next branch.

Qu Wenruo (6):
  btrfs: fix double accounting of ordered extents during errors
  btrfs: extract the inner loop of cow_file_range() to enhance the error
    handling
  btrfs: use FGP_STABLE to wait for folio writeback
  btrfs: make btrfs_do_readpage() to do block-by-block read
  btrfs: avoid deadlock when reading a partial uptodate folio
  btrfs: allow buffered write to skip full page if it's sector aligned

 fs/btrfs/defrag.c       |   6 +-
 fs/btrfs/direct-io.c    |   2 +-
 fs/btrfs/extent_io.c    |  85 ++++++----
 fs/btrfs/file.c         |  13 +-
 fs/btrfs/inode.c        | 347 ++++++++++++++++++++--------------------
 fs/btrfs/ordered-data.c |  67 +++++++-
 fs/btrfs/ordered-data.h |   8 +-
 7 files changed, 306 insertions(+), 222 deletions(-)

-- 
2.47.0


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

end of thread, other threads:[~2024-11-26 20:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-30  6:33 [PATCH 0/6] btrfs: sector size < page size enhancement Qu Wenruo
2024-10-30  6:33 ` [PATCH 1/6] btrfs: fix double accounting of ordered extents during errors Qu Wenruo
2024-11-24  7:31   ` Qu Wenruo
2024-11-26 16:08     ` David Sterba
2024-11-26 20:19       ` Qu Wenruo
2024-10-30  6:33 ` [PATCH 2/6] btrfs: extract the inner loop of cow_file_range() to enhance the error handling Qu Wenruo
2024-10-30  6:33 ` [PATCH 3/6] btrfs: use FGP_STABLE to wait for folio writeback Qu Wenruo
2024-10-30  6:34 ` [PATCH 4/6] btrfs: make btrfs_do_readpage() to do block-by-block read Qu Wenruo
2024-10-30  6:34 ` [PATCH 5/6] btrfs: avoid deadlock when reading a partial uptodate folio Qu Wenruo
2024-10-30  6:34 ` [PATCH 6/6] btrfs: allow buffered write to skip full page if it's sector aligned Qu Wenruo

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.