mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* __link_block_group uses GFP_KERNEL
@ 2017-03-24  9:02 Denis Kirjanov
  2017-03-24 23:13 ` Jeff Mahoney
  0 siblings, 1 reply; 5+ messages in thread
From: Denis Kirjanov @ 2017-03-24  9:02 UTC (permalink / raw)
  To: linux-btrfs; +Cc: linux-kernel, chris.mason

Hi guys,

Looks like that current code does GFP_KERNEL allocation inside
__link_block_group.
the function invokes kobject_add and internally creates sysfs files
with the GFP_KERNEL flag set.
But since do_chunk_alloc executes insides the btrfs transaction it's
not allowed to sleep.

Thanks!

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

end of thread, other threads:[~2017-03-28  8:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-24  9:02 __link_block_group uses GFP_KERNEL Denis Kirjanov
2017-03-24 23:13 ` Jeff Mahoney
2017-03-25  6:48   ` Denis Kirjanov
2017-03-27 17:18     ` David Sterba
2017-03-28  8:16       ` Denis Kirjanov

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

all inboxes | Powered by JetHome®