linux/fs/btrfs
David Sterba de2491fdef btrfs: scrub: add memalloc_nofs protection around init_ipath
init_ipath is called from a safe ioctl context and from scrub when
printing an error.  The protection is added for three reasons:

* init_data_container calls vmalloc and this does not work as expected
  in the GFP_NOFS context, so this silently does GFP_KERNEL and might
  deadlock in some cases
* keep the context constraint of GFP_NOFS, used by scrub
* we want to use GFP_KERNEL unconditionally inside init_ipath or its
  callees

Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2017-06-19 18:26:02 +02:00
..
tests Btrfs: replace tree->mapping with tree->private_data 2017-06-19 18:25:58 +02:00
acl.c
async-thread.c
async-thread.h
backref.c btrfs: replace hardcoded value with SEQ_LAST macro 2017-04-18 14:07:25 +02:00
backref.h
btrfs_inode.h Btrfs: fix reported number of inode blocks 2017-04-26 16:27:26 +01:00
check-integrity.c btrfs: replace opencoded kvzalloc with the helper 2017-06-19 18:26:01 +02:00
check-integrity.h
compression.c btrfs: reduce arguments for decompress_bio ops 2017-06-19 18:26:00 +02:00
compression.h btrfs: reduce arguments for decompress_bio ops 2017-06-19 18:26:00 +02:00
ctree.c btrfs: rename btrfs_leaf_data to BTRFS_LEAF_DATA_OFFSET 2017-06-19 18:26:00 +02:00
ctree.h btrfs: use generic slab for for btrfs_transaction 2017-06-19 18:26:01 +02:00
dedupe.h
delayed-inode.c btrfs: convert btrfs_delayed_item.refs from atomic_t to refcount_t 2017-04-18 14:07:23 +02:00
delayed-inode.h btrfs: convert btrfs_delayed_item.refs from atomic_t to refcount_t 2017-04-18 14:07:23 +02:00
delayed-ref.c btrfs: convert btrfs_delayed_ref_node.refs from atomic_t to refcount_t 2017-04-18 14:07:23 +02:00
delayed-ref.h btrfs: convert btrfs_delayed_ref_node.refs from atomic_t to refcount_t 2017-04-18 14:07:23 +02:00
dev-replace.c Btrfs: switch to div64_u64 if with a u64 divisor 2017-04-18 14:07:26 +02:00
dev-replace.h btrfs: constify device path passed to relevant helpers 2017-02-28 14:26:07 +01:00
dir-item.c btrfs: tree-log.c: Wrong printk information about namelen 2017-06-09 12:48:07 -07:00
disk-io.c btrfs: use generic slab for for btrfs_transaction 2017-06-19 18:26:01 +02:00
disk-io.h btrfs: btrfs_wait_tree_block_writeback can be void return 2017-06-19 18:26:01 +02:00
export.c
export.h
extent-tree.c btrfs: Refactor update_space_info 2017-06-19 18:26:00 +02:00
extent_io.c btrfs: rename btrfs_leaf_data to BTRFS_LEAF_DATA_OFFSET 2017-06-19 18:26:00 +02:00
extent_io.h Btrfs: hardcode GFP_NOFS for btrfs_bio_clone_partial 2017-06-19 18:25:59 +02:00
extent_map.c btrfs: convert extent_map.refs from atomic_t to refcount_t 2017-04-18 14:07:23 +02:00
extent_map.h btrfs: convert extent_map.refs from atomic_t to refcount_t 2017-04-18 14:07:23 +02:00
file-item.c Btrfs: change how we iterate bios in endio 2017-06-19 18:25:59 +02:00
file.c Merge branch 'for-chris-4.12' of git://git.kernel.org/pub/scm/linux/kernel/git/fdmanana/linux into for-linus-4.12 2017-04-27 14:13:09 -07:00
free-space-cache.c btrfs: use clear_page where appropriate 2017-04-18 14:07:26 +02:00
free-space-cache.h
free-space-tree.c Btrfs: use memalloc_nofs and kvzalloc() for free space tree bitmaps 2017-06-19 18:26:01 +02:00
free-space-tree.h
hash.c crypto: Work around deallocated stack frame reference gcc bug on sparc. 2017-06-08 17:36:03 +08:00
hash.h
inode-item.c
inode-map.c btrfs: all btrfs_delalloc_release_metadata take btrfs_inode 2017-02-28 11:30:07 +01:00
inode-map.h
inode.c btrfs: simplify code with bio_io_error 2017-06-19 18:26:01 +02:00
ioctl.c Btrfs: remove obsolete FIXMEs in qgroup ioctls 2017-06-19 18:25:58 +02:00
Kconfig
locking.c
locking.h
lzo.c Btrfs: lzo: compressed data size must be less then input size 2017-06-19 18:26:01 +02:00
Makefile
math.h
ordered-data.c btrfs: convert btrfs_ordered_extent.refs from atomic_t to refcount_t 2017-04-18 14:07:23 +02:00
ordered-data.h btrfs: convert btrfs_ordered_extent.refs from atomic_t to refcount_t 2017-04-18 14:07:23 +02:00
orphan.c
print-tree.c Btrfs: let btrfs_print_leaf print more about block group 2017-06-19 18:26:00 +02:00
print-tree.h
props.c
props.h
qgroup.c btrfs: add quota override flag to enable quota override for CAP_SYS_RESOURCE 2017-06-19 18:25:58 +02:00
qgroup.h btrfs: qgroup: Re-arrange tracepoint timing to co-operate with reserved space tracepoint 2017-04-18 14:07:26 +02:00
raid56.c btrfs: replace opencoded kvzalloc with the helper 2017-06-19 18:26:01 +02:00
raid56.h
rcu-string.h
reada.c btrfs: remove unused member err from reada_extent 2017-06-19 18:25:59 +02:00
relocation.c Btrfs: replace tree->mapping with tree->private_data 2017-06-19 18:25:58 +02:00
root-tree.c btrfs: Use ktime_get_real_ts for root ctime 2017-04-18 14:07:27 +02:00
scrub.c btrfs: scrub: add memalloc_nofs protection around init_ipath 2017-06-19 18:26:02 +02:00
send.c btrfs: send: use kvmalloc in iterate_dir_item 2017-06-19 18:26:02 +02:00
send.h
struct-funcs.c
super.c btrfs: cleanup root usage by btrfs_get_alloc_profile 2017-06-19 18:25:59 +02:00
sysfs.c btrfs: Add quota_override knob into sysfs 2017-06-19 18:25:58 +02:00
sysfs.h
transaction.c btrfs: use generic slab for for btrfs_transaction 2017-06-19 18:26:01 +02:00
transaction.h btrfs: remove unused qgroup members from btrfs_trans_handle 2017-04-18 14:07:25 +02:00
tree-defrag.c
tree-log.c btrfs: convert extent_map.refs from atomic_t to refcount_t 2017-04-18 14:07:23 +02:00
tree-log.h
ulist.c
ulist.h
uuid-tree.c
volumes.c btrfs: cleanup root usage by btrfs_get_alloc_profile 2017-06-19 18:25:59 +02:00
volumes.h Btrfs: change how we iterate bios in endio 2017-06-19 18:25:59 +02:00
xattr.c
xattr.h
zlib.c btrfs: reduce arguments for decompress_bio ops 2017-06-19 18:26:00 +02:00