]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: use only inline_pages from extent buffer
authorDavid Sterba <dsterba@suse.cz>
Thu, 28 Feb 2013 14:54:18 +0000 (14:54 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Thu, 28 Feb 2013 18:33:56 +0000 (13:33 -0500)
commit632c122b17cd6a1299deefb1873fe42a0f354924
tree0b99ae05e9e656e158261a05f11c2a140124ac49
parent4ee0fcd5667d63b670e41514c16820ad212c53ae
btrfs: use only inline_pages from extent buffer

The nodesize is capped at 64k and there are enough pages preallocated in
extent_buffer::inline_pages. The fallback to kmalloc never happened
because even on the smallest page size considered (4k) inline_pages
covered the needs.

Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h