]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: fallback to vmalloc in btrfs_compare_tree
authorDavid Sterba <dsterba@suse.com>
Wed, 30 Mar 2016 14:01:12 +0000 (16:01 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 4 Apr 2016 14:29:22 +0000 (16:29 +0200)
commit5dbbe5ce0b7ac4b264b2037b78635d9b18b1a89d
tree30dc1fb3e5b7d3951a0b24f2328c0290584f6b10
parent959562847afe99ebfe32004d08bd994f86615d3f
btrfs: fallback to vmalloc in btrfs_compare_tree

The allocation of node could fail if the memory is too fragmented for a
given node size, practically observed with 64k.

http://article.gmane.org/gmane.comp.file-systems.btrfs/54689

Reported-and-tested-by: Jean-Denis Girard <jd.girard@sysnux.pf>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/ctree.c