All of lore.kernel.org
 help / color / mirror / Atom feed
* Btrfs-cleaner FS DoS issues
@ 2015-04-16  1:41 Matt Grant
  2015-04-16  4:25 ` Chris Murphy
  2015-04-16  4:54 ` Roman Mamedov
  0 siblings, 2 replies; 3+ messages in thread
From: Matt Grant @ 2015-04-16  1:41 UTC (permalink / raw)
  To: linux-btrfs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=utf-8, Size: 638 bytes --]

Hi!

When ever I delete a large snapshot this stalls all the processes on my system for 30 minutes plus, kernel v19.2. Btrfs-cleaner is taking 100% CPU when completely stalled. Every few minutes its say 99.8% and satall abates and  processes/io happen.

About to lodge a kernel bug about this as it is serious issue.

Could some one look at making the clean up process more sensitive to when the system is idle? MD Raid is very good at this, and it should be possible to set this up.

Best Regards,

Matt Grantÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±ý»k~ÏâžØ^n‡r¡ö¦zË\x1aëh™¨è­Ú&£ûàz¿äz¹Þ—ú+€Ê+zf£¢·hšˆ§~†­†Ûiÿÿïêÿ‘êçz_è®\x0fæj:+v‰¨þ)ߣøm

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

* Re: Btrfs-cleaner FS DoS issues
  2015-04-16  1:41 Btrfs-cleaner FS DoS issues Matt Grant
@ 2015-04-16  4:25 ` Chris Murphy
  2015-04-16  4:54 ` Roman Mamedov
  1 sibling, 0 replies; 3+ messages in thread
From: Chris Murphy @ 2015-04-16  4:25 UTC (permalink / raw)
  To: Matt Grant, Btrfs BTRFS

On Wed, Apr 15, 2015 at 7:41 PM, Matt Grant <matt@mattgrant.net.nz> wrote:
> Hi!
>
> When ever I delete a large snapshot this stalls all the processes on my system for 30 minutes plus, kernel v19.2. Btrfs-cleaner is taking 100% CPU when completely stalled. Every few minutes its say 99.8% and satall abates and  processes/io happen.
>
> About to lodge a kernel bug about this as it is serious issue.
>
> Could some one look at making the clean up process more sensitive to when the system is idle? MD Raid is very good at this, and it should be possible to set this up.

I suggest reproducing with 4.0.0, and issuing sysrq+t during the hang
if it's just sluggish, or use sysrq+w if you get blocked task
messages, and then attach to a bug report. Then reply to this thread
with the bug URL.



-- 
Chris Murphy

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

* Re: Btrfs-cleaner FS DoS issues
  2015-04-16  1:41 Btrfs-cleaner FS DoS issues Matt Grant
  2015-04-16  4:25 ` Chris Murphy
@ 2015-04-16  4:54 ` Roman Mamedov
  1 sibling, 0 replies; 3+ messages in thread
From: Roman Mamedov @ 2015-04-16  4:54 UTC (permalink / raw)
  To: Matt Grant; +Cc: linux-btrfs

[-- Attachment #1: Type: text/plain, Size: 432 bytes --]

On Thu, 16 Apr 2015 13:41:21 +1200
Matt Grant <matt@mattgrant.net.nz> wrote:

> Hi!
> 
> When ever I delete a large snapshot this stalls all the processes on my system for 30 minutes plus, kernel v19.2. Btrfs-cleaner is taking 100% CPU when completely stalled. Every few minutes its say 99.8% and satall abates and  processes/io happen.

By any chance do you use this on SSD with TRIM enabled?

-- 
With respect,
Roman

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

end of thread, other threads:[~2015-04-16  4:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-16  1:41 Btrfs-cleaner FS DoS issues Matt Grant
2015-04-16  4:25 ` Chris Murphy
2015-04-16  4:54 ` Roman Mamedov

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.