All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] btrfs: a few performance improvements for fsync and rename/link
@ 2020-08-11 11:43 fdmanana
  2020-08-19 14:08 ` David Sterba
  0 siblings, 1 reply; 4+ messages in thread
From: fdmanana @ 2020-08-11 11:43 UTC (permalink / raw)
  To: linux-btrfs

From: Filipe Manana <fdmanana@suse.com>

A small group of changes to improve performance of fsync, rename and link operations.
They are farily independent, but patch 3 needs to be applied before patch 2, the
order can be changed if needed.
Details and performance tests are mentioned in the change log of each patch.

Filipe Manana (3):
  btrfs: do not take the log_mutex of the subvolume when pinning the log
  btrfs: do not commit logs and transactions during link and rename
    operations
  btrfs: make fast fsyncs wait only for writeback

 fs/btrfs/btrfs_inode.h  |   5 +
 fs/btrfs/file.c         |  97 +++++++++-----
 fs/btrfs/inode.c        | 115 ++---------------
 fs/btrfs/ordered-data.c |  59 +++++++++
 fs/btrfs/ordered-data.h |  11 ++
 fs/btrfs/transaction.c  |  10 ++
 fs/btrfs/transaction.h  |   7 ++
 fs/btrfs/tree-log.c     | 272 +++++++++++++++++++++-------------------
 fs/btrfs/tree-log.h     |  32 +++--
 9 files changed, 334 insertions(+), 274 deletions(-)

-- 
2.26.2


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

* Re: [PATCH 0/3] btrfs: a few performance improvements for fsync and rename/link
  2020-08-11 11:43 [PATCH 0/3] btrfs: a few performance improvements for fsync and rename/link fdmanana
@ 2020-08-19 14:08 ` David Sterba
  2020-08-19 14:23   ` Filipe Manana
  0 siblings, 1 reply; 4+ messages in thread
From: David Sterba @ 2020-08-19 14:08 UTC (permalink / raw)
  To: fdmanana; +Cc: linux-btrfs

On Tue, Aug 11, 2020 at 12:43:28PM +0100, fdmanana@kernel.org wrote:
> From: Filipe Manana <fdmanana@suse.com>
> 
> A small group of changes to improve performance of fsync, rename and link operations.

Thank you very much!

> They are farily independent, but patch 3 needs to be applied before patch 2, the
> order can be changed if needed.
> Details and performance tests are mentioned in the change log of each patch.

A lot of two-digit improvements in throughput and runtime, that's great.

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

* Re: [PATCH 0/3] btrfs: a few performance improvements for fsync and rename/link
  2020-08-19 14:08 ` David Sterba
@ 2020-08-19 14:23   ` Filipe Manana
  2020-08-19 14:35     ` David Sterba
  0 siblings, 1 reply; 4+ messages in thread
From: Filipe Manana @ 2020-08-19 14:23 UTC (permalink / raw)
  To: dsterba, Filipe Manana, linux-btrfs

On Wed, Aug 19, 2020 at 3:09 PM David Sterba <dsterba@suse.cz> wrote:
>
> On Tue, Aug 11, 2020 at 12:43:28PM +0100, fdmanana@kernel.org wrote:
> > From: Filipe Manana <fdmanana@suse.com>
> >
> > A small group of changes to improve performance of fsync, rename and link operations.
>
> Thank you very much!
>
> > They are farily independent, but patch 3 needs to be applied before patch 2, the
> > order can be changed if needed.
> > Details and performance tests are mentioned in the change log of each patch.
>
> A lot of two-digit improvements in throughput and runtime, that's great.

Btw, could you fold the following into patch 3?

https://pastebin.com/raw/hmmmnzJY

It just silences a warning that one of the kernel test robots reported
last sunday:

https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org/thread/CRTG5J2M2D7Q7M5GPHXKHOKGKN3GSVWJ/

It doesn't change anything in terms of behaviour.

Thanks.

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

* Re: [PATCH 0/3] btrfs: a few performance improvements for fsync and rename/link
  2020-08-19 14:23   ` Filipe Manana
@ 2020-08-19 14:35     ` David Sterba
  0 siblings, 0 replies; 4+ messages in thread
From: David Sterba @ 2020-08-19 14:35 UTC (permalink / raw)
  To: Filipe Manana; +Cc: dsterba, linux-btrfs

On Wed, Aug 19, 2020 at 03:23:27PM +0100, Filipe Manana wrote:
> On Wed, Aug 19, 2020 at 3:09 PM David Sterba <dsterba@suse.cz> wrote:
> >
> > On Tue, Aug 11, 2020 at 12:43:28PM +0100, fdmanana@kernel.org wrote:
> > > From: Filipe Manana <fdmanana@suse.com>
> > >
> > > A small group of changes to improve performance of fsync, rename and link operations.
> >
> > Thank you very much!
> >
> > > They are farily independent, but patch 3 needs to be applied before patch 2, the
> > > order can be changed if needed.
> > > Details and performance tests are mentioned in the change log of each patch.
> >
> > A lot of two-digit improvements in throughput and runtime, that's great.
> 
> Btw, could you fold the following into patch 3?
> 
> https://pastebin.com/raw/hmmmnzJY

Updated and pushed, thanks.

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

end of thread, other threads:[~2020-08-19 14:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-11 11:43 [PATCH 0/3] btrfs: a few performance improvements for fsync and rename/link fdmanana
2020-08-19 14:08 ` David Sterba
2020-08-19 14:23   ` Filipe Manana
2020-08-19 14:35     ` David Sterba

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.