diff options
author | Filipe David Borba Manana <fdmanana@gmail.com> | 2014-01-24 17:42:09 +0000 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-01-29 07:06:24 -0800 |
commit | 7fdd29d02e0ab595a857fe9c7b71e752ff665372 (patch) | |
tree | d4b38218d7c8ae8ee3a97e89b3025e2cef824eca /fs/coredump.h | |
parent | 95def2ede1a9dd12b164932eaf5fefb67aefc41c (diff) |
Btrfs: make send's file extent item search more efficient
Instead of looking for a file extent item, process it, release the path
and do a btree search for the next file extent item, just process all
file extent items in a leaf without intermediate btree searches. This way
we save cpu and we're not blocking other tasks or affecting concurrency on
the btree, because send's paths use the commit root and skip btree node/leaf
locking.
Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/coredump.h')
0 files changed, 0 insertions, 0 deletions