summaryrefslogtreecommitdiffstats
path: root/net/openvswitch/vport-netdev.h
diff options
context:
space:
mode:
authorLiu Bo2013-07-11 11:51:15 +0200
committerChris Mason2013-09-01 13:57:24 +0200
commit52ee28d249571616c80df7562bd4412ac253899a (patch)
tree423ee82e53b79dcb322036f4a2dea7690164e311 /net/openvswitch/vport-netdev.h
parentbtrfs: fall back to global reservation when removing subvolumes (diff)
downloadkernel-qcow2-linux-52ee28d249571616c80df7562bd4412ac253899a.tar.gz
kernel-qcow2-linux-52ee28d249571616c80df7562bd4412ac253899a.tar.xz
kernel-qcow2-linux-52ee28d249571616c80df7562bd4412ac253899a.zip
Btrfs: make free space caching faster with many non-inline extent references
So to cache free space, we iterate every extent item to gather free space info. When we have say 10,000 non-inline extent refs(such as BTRFS_EXTENT_DATA_REF), it takes quite a long time, and since inline extent refs and non-inline ones have same objectid in their keys, we can just re-search the tree with the next address to skip non-inline references. (This is found by dedup feature because dedup extents can end up with many non-inline extent refs.) Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'net/openvswitch/vport-netdev.h')
0 files changed, 0 insertions, 0 deletions