]> 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)
commit4c5140255c64b8f1c76a003ea77dd0eccbcf9935
tree30dc1fb3e5b7d3951a0b24f2328c0290584f6b10
parentb1afd2430c92cec55b6838f8565b8f349d4c9028
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