* [GIT PULL] Btrfs fixes for 6.3-rc8
@ 2023-04-21 15:21 David Sterba
2023-04-21 18:15 ` pr-tracker-bot
0 siblings, 1 reply; 2+ messages in thread
From: David Sterba @ 2023-04-21 15:21 UTC (permalink / raw)
To: torvalds; +Cc: David Sterba, linux-btrfs, linux-kernel, regressions
Hi,
two patches fixing the problem with aync discard. The default settings
had a low IOPS limit and processing a large batch to discard would take
a long time. On laptops this can cause increased power consumption due
to disk activity. As async discard has been on by default since 6.2 this
likely affects a lot of users.
Please pull, thanks.
- increase the default IOPS limit 10x which reportedly helped
- setting the sysfs IOPS value to 0 now does not throttle anymore
allowing the discards to be processed at full speed, previously there
was an arbitrary 6 hour target for processing the pending batch
----------------------------------------------------------------
The following changes since commit 68d99ab0e9221ef54506f827576c5a914680eeaf:
btrfs: fix fast csum implementation detection (2023-04-06 16:34:13 +0200)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux.git for-6.3-rc7-tag
for you to fetch changes up to ef9cddfe57d86aac6b509b550136395669159b30:
btrfs: reinterpret async discard iops_limit=0 as no delay (2023-04-21 00:28:23 +0200)
----------------------------------------------------------------
Boris Burkov (2):
btrfs: set default discard iops_limit to 1000
btrfs: reinterpret async discard iops_limit=0 as no delay
fs/btrfs/discard.c | 21 +++++++++++++--------
1 file changed, 13 insertions(+), 8 deletions(-)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-04-21 18:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-21 15:21 [GIT PULL] Btrfs fixes for 6.3-rc8 David Sterba
2023-04-21 18:15 ` pr-tracker-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox