Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1608250

__link_block_group uses GFP_KERNEL

From Denis Kirjanov <dkirjanov@cloudlinux.com>
Newsgroups linux.kernel
Subject __link_block_group uses GFP_KERNEL
Date 2017-03-24 10:10 +0100
Message-ID <toton-7Is-35@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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!

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

__link_block_group uses GFP_KERNEL Denis Kirjanov <dkirjanov@cloudlinux.com> - 2017-03-24 10:10 +0100
  Re: __link_block_group uses GFP_KERNEL Jeff Mahoney <jeffm@suse.com> - 2017-03-25 00:20 +0100
    Re: __link_block_group uses GFP_KERNEL Denis Kirjanov <dkirjanov@cloudlinux.com> - 2017-03-25 07:50 +0100

csiph-web