linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/6] A variety of lock contention fixes
@ 2020-10-16 15:52 Josef Bacik
  2020-10-16 15:52 ` [PATCH v2 1/6] btrfs: do not block on deleted bgs mutex in the cleaner Josef Bacik
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Josef Bacik @ 2020-10-16 15:52 UTC (permalink / raw)
  To: linux-btrfs, kernel-team

v1->v2:
- Fixed the log messages that Nikolay pointed out.
- Added Nikolay's reviewed by for the first patch.
- Removed the unneeded mb for flushing.

--- Original email ---
Hello,

I've been running some stress tests recently in order to try and reproduce some
problems I've tripped over in relocation.  Most of this series is a reposting of
patches I wrote when debugging related issues for Zygo that got lost.  I've
updated one of them to make the lock contention even better, making it so I have
to ramp up my stress test loops because it now finishes way too fast.  Thanks,

Josef

Josef Bacik (6):
  btrfs: do not block on deleted bgs mutex in the cleaner
  btrfs: only let one thread pre-flush delayed refs in commit
  btrfs: delayed refs pre-flushing should only run the heads we have
  btrfs: only run delayed refs once before committing
  btrfs: stop running all delayed refs during snapshot
  btrfs: run delayed refs less often in commit_cowonly_roots

 fs/btrfs/block-group.c | 11 +++++--
 fs/btrfs/delayed-ref.h | 12 +++----
 fs/btrfs/extent-tree.c |  2 +-
 fs/btrfs/transaction.c | 74 ++++++++++++++++--------------------------
 4 files changed, 43 insertions(+), 56 deletions(-)

-- 
2.24.1


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

end of thread, other threads:[~2020-10-20  9:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-16 15:52 [PATCH v2 0/6] A variety of lock contention fixes Josef Bacik
2020-10-16 15:52 ` [PATCH v2 1/6] btrfs: do not block on deleted bgs mutex in the cleaner Josef Bacik
2020-10-16 15:52 ` [PATCH v2 2/6] btrfs: only let one thread pre-flush delayed refs in commit Josef Bacik
2020-10-19  8:20   ` Nikolay Borisov
2020-10-16 15:52 ` [PATCH v2 3/6] btrfs: delayed refs pre-flushing should only run the heads we have Josef Bacik
2020-10-20  9:08   ` Nikolay Borisov
2020-10-16 15:52 ` [PATCH v2 4/6] btrfs: only run delayed refs once before committing Josef Bacik
2020-10-16 15:52 ` [PATCH v2 5/6] btrfs: stop running all delayed refs during snapshot Josef Bacik
2020-10-16 15:52 ` [PATCH v2 6/6] btrfs: run delayed refs less often in commit_cowonly_roots Josef Bacik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).