mbox series

[0/2] mild btrfs async discard fix

Message ID cover.1606752605.git.asml.silence@gmail.com (mailing list archive)
Headers show
Series mild btrfs async discard fix | expand

Message

Pavel Begunkov Nov. 30, 2020, 4:22 p.m. UTC
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(-)