* [GIT PULL v2] xfs: buffer cache bulk page allocation
[not found] <20210608035616.GJ664593@dread.disaster.area>
@ 2021-06-08 4:14 ` Dave Chinner
2021-06-09 20:46 ` Darrick J. Wong
0 siblings, 1 reply; 2+ messages in thread
From: Dave Chinner @ 2021-06-08 4:14 UTC (permalink / raw)
To: djwong; +Cc: linux-xfs
Hi Darrick,
As we talked about on IRC, I have (force) updated the branch and tag
containing the buffer cache bulk page allocation series to correct
the errors in the commit metadata. This version correctly attributes
all of Christoph's patches, fixes a couple of minor typos and adds a
missing committer SoB to another of Christoph's patches. There are
no code changes in this update.
When you next update the for-next branch, can you please pull the
updates from the tag below?
Cheers,
Dave.
The following changes since commit d07f6ca923ea0927a1024dfccafc5b53b61cfecc:
Linux 5.13-rc2 (2021-05-16 15:27:44 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/dgc/linux-xfs.git tags/xfs-buf-bulk-alloc-tag
for you to fetch changes up to 8bcac7448a942fa4662441a310c97d47cec24310:
xfs: merge xfs_buf_allocate_memory (2021-06-07 11:50:48 +1000)
----------------------------------------------------------------
xfs: buffer cache bulk page allocation
This patchset makes use of the new bulk page allocation interface to
reduce the overhead of allocating large numbers of pages in a
loop.
The first two patches are refactoring buffer memory allocation and
converting the uncached buffer path to use the same page allocation
path, followed by converting the page allocation path to use bulk
allocation.
The rest of the patches are then consolidation of the page
allocation and freeing code to simplify the code and remove a chunk
of unnecessary abstraction. This is largely based on a series of
changes made by Christoph Hellwig.
----------------------------------------------------------------
Christoph Hellwig (3):
xfs: remove ->b_offset handling for page backed buffers
xfs: simplify the b_page_count calculation
xfs: cleanup error handling in xfs_buf_get_map
Dave Chinner (7):
xfs: split up xfs_buf_allocate_memory
xfs: use xfs_buf_alloc_pages for uncached buffers
xfs: use alloc_pages_bulk_array() for buffers
xfs: merge _xfs_buf_get_pages()
xfs: move page freeing into _xfs_buf_free_pages()
xfs: get rid of xb_to_gfp()
xfs: merge xfs_buf_allocate_memory
fs/xfs/libxfs/xfs_ag.c | 1 -
fs/xfs/xfs_buf.c | 305 ++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------
fs/xfs/xfs_buf.h | 3 +-
3 files changed, 120 insertions(+), 189 deletions(-)
--
Dave Chinner
david@fromorbit.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [GIT PULL v2] xfs: buffer cache bulk page allocation
2021-06-08 4:14 ` [GIT PULL v2] xfs: buffer cache bulk page allocation Dave Chinner
@ 2021-06-09 20:46 ` Darrick J. Wong
0 siblings, 0 replies; 2+ messages in thread
From: Darrick J. Wong @ 2021-06-09 20:46 UTC (permalink / raw)
To: Dave Chinner; +Cc: linux-xfs
On Tue, Jun 08, 2021 at 02:14:37PM +1000, Dave Chinner wrote:
> Hi Darrick,
>
> As we talked about on IRC, I have (force) updated the branch and tag
> containing the buffer cache bulk page allocation series to correct
> the errors in the commit metadata. This version correctly attributes
> all of Christoph's patches, fixes a couple of minor typos and adds a
> missing committer SoB to another of Christoph's patches. There are
> no code changes in this update.
>
> When you next update the for-next branch, can you please pull the
> updates from the tag below?
Pulled, thanks.
--D
>
> Cheers,
>
> Dave.
>
> The following changes since commit d07f6ca923ea0927a1024dfccafc5b53b61cfecc:
>
> Linux 5.13-rc2 (2021-05-16 15:27:44 -0700)
>
> are available in the Git repository at:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/dgc/linux-xfs.git tags/xfs-buf-bulk-alloc-tag
>
> for you to fetch changes up to 8bcac7448a942fa4662441a310c97d47cec24310:
>
> xfs: merge xfs_buf_allocate_memory (2021-06-07 11:50:48 +1000)
>
> ----------------------------------------------------------------
> xfs: buffer cache bulk page allocation
>
> This patchset makes use of the new bulk page allocation interface to
> reduce the overhead of allocating large numbers of pages in a
> loop.
>
> The first two patches are refactoring buffer memory allocation and
> converting the uncached buffer path to use the same page allocation
> path, followed by converting the page allocation path to use bulk
> allocation.
>
> The rest of the patches are then consolidation of the page
> allocation and freeing code to simplify the code and remove a chunk
> of unnecessary abstraction. This is largely based on a series of
> changes made by Christoph Hellwig.
>
> ----------------------------------------------------------------
> Christoph Hellwig (3):
> xfs: remove ->b_offset handling for page backed buffers
> xfs: simplify the b_page_count calculation
> xfs: cleanup error handling in xfs_buf_get_map
>
> Dave Chinner (7):
> xfs: split up xfs_buf_allocate_memory
> xfs: use xfs_buf_alloc_pages for uncached buffers
> xfs: use alloc_pages_bulk_array() for buffers
> xfs: merge _xfs_buf_get_pages()
> xfs: move page freeing into _xfs_buf_free_pages()
> xfs: get rid of xb_to_gfp()
> xfs: merge xfs_buf_allocate_memory
>
> fs/xfs/libxfs/xfs_ag.c | 1 -
> fs/xfs/xfs_buf.c | 305 ++++++++++++++++++++++++++++++++++++++++++++++-------------------------------------------------------------------------
> fs/xfs/xfs_buf.h | 3 +-
> 3 files changed, 120 insertions(+), 189 deletions(-)
>
> --
> Dave Chinner
> david@fromorbit.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-06-09 20:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20210608035616.GJ664593@dread.disaster.area>
2021-06-08 4:14 ` [GIT PULL v2] xfs: buffer cache bulk page allocation Dave Chinner
2021-06-09 20:46 ` Darrick J. Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox