Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH 0/2] mild btrfs async discard fix
@ 2020-11-30 16:22 Pavel Begunkov
  2020-11-30 16:22 ` [PATCH 1/2] btrfs: fix racy access to discard_ctl data Pavel Begunkov
  2020-11-30 16:22 ` [PATCH 2/2] btrfs: don't overabuse discard lock Pavel Begunkov
  0 siblings, 2 replies; 3+ messages in thread
From: Pavel Begunkov @ 2020-11-30 16:22 UTC (permalink / raw)
  To: Chris Mason, Josef Bacik, David Sterba, linux-btrfs

The first fixes torn reads, that is not very important but costs us
nothing. The second optimises out extra spinlocking that may be useful
for high discard rates.

Pavel Begunkov (2):
  btrfs: fix racy access to discard_ctl data
  btrfs: don't overabuse discard lock

 fs/btrfs/discard.c | 54 +++++++++++++++++++++++-----------------------
 1 file changed, 27 insertions(+), 27 deletions(-)

-- 
2.24.0


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

end of thread, other threads:[~2020-11-30 16:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-30 16:22 [PATCH 0/2] mild btrfs async discard fix Pavel Begunkov
2020-11-30 16:22 ` [PATCH 1/2] btrfs: fix racy access to discard_ctl data Pavel Begunkov
2020-11-30 16:22 ` [PATCH 2/2] btrfs: don't overabuse discard lock Pavel Begunkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox