Searched hist:e3d039656384288bbe952413d8d404b3035fe7d7 (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/fs/btrfs/ |
H A D | delayed-ref.h | diff e3d039656384288bbe952413d8d404b3035fe7d7 Wed Aug 22 14:51:50 CDT 2018 Liu Bo <bo.liu@linux.alibaba.com> Btrfs: delayed-refs: use rb_first_cached for ref_tree
rb_first_cached() trades an extra pointer "leftmost" for doing the same job as rb_first() but in O(1).
Functions manipulating href->ref_tree need to get the first entry, this converts href->ref_tree to use rb_first_cached().
For more details about the optimization see patch "Btrfs: delayed-refs: use rb_first_cached for href_root".
Tested-by: Holger Hoffstätte <holger@applied-asynchrony.com> Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
|
H A D | delayed-ref.c | diff e3d039656384288bbe952413d8d404b3035fe7d7 Wed Aug 22 14:51:50 CDT 2018 Liu Bo <bo.liu@linux.alibaba.com> Btrfs: delayed-refs: use rb_first_cached for ref_tree
rb_first_cached() trades an extra pointer "leftmost" for doing the same job as rb_first() but in O(1).
Functions manipulating href->ref_tree need to get the first entry, this converts href->ref_tree to use rb_first_cached().
For more details about the optimization see patch "Btrfs: delayed-refs: use rb_first_cached for href_root".
Tested-by: Holger Hoffstätte <holger@applied-asynchrony.com> Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
|
H A D | backref.c | diff e3d039656384288bbe952413d8d404b3035fe7d7 Wed Aug 22 14:51:50 CDT 2018 Liu Bo <bo.liu@linux.alibaba.com> Btrfs: delayed-refs: use rb_first_cached for ref_tree
rb_first_cached() trades an extra pointer "leftmost" for doing the same job as rb_first() but in O(1).
Functions manipulating href->ref_tree need to get the first entry, this converts href->ref_tree to use rb_first_cached().
For more details about the optimization see patch "Btrfs: delayed-refs: use rb_first_cached for href_root".
Tested-by: Holger Hoffstätte <holger@applied-asynchrony.com> Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
|
H A D | disk-io.c | diff e3d039656384288bbe952413d8d404b3035fe7d7 Wed Aug 22 14:51:50 CDT 2018 Liu Bo <bo.liu@linux.alibaba.com> Btrfs: delayed-refs: use rb_first_cached for ref_tree
rb_first_cached() trades an extra pointer "leftmost" for doing the same job as rb_first() but in O(1).
Functions manipulating href->ref_tree need to get the first entry, this converts href->ref_tree to use rb_first_cached().
For more details about the optimization see patch "Btrfs: delayed-refs: use rb_first_cached for href_root".
Tested-by: Holger Hoffstätte <holger@applied-asynchrony.com> Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
|
H A D | extent-tree.c | diff e3d039656384288bbe952413d8d404b3035fe7d7 Wed Aug 22 14:51:50 CDT 2018 Liu Bo <bo.liu@linux.alibaba.com> Btrfs: delayed-refs: use rb_first_cached for ref_tree
rb_first_cached() trades an extra pointer "leftmost" for doing the same job as rb_first() but in O(1).
Functions manipulating href->ref_tree need to get the first entry, this converts href->ref_tree to use rb_first_cached().
For more details about the optimization see patch "Btrfs: delayed-refs: use rb_first_cached for href_root".
Tested-by: Holger Hoffstätte <holger@applied-asynchrony.com> Signed-off-by: Liu Bo <bo.liu@linux.alibaba.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
|