Whamcloud - gitweb
LU-9679 osc: discard oe_intree 00/37600/7
authorNeilBrown <neilb@suse.com>
Wed, 12 Dec 2018 03:06:35 +0000 (14:06 +1100)
committerOleg Drokin <green@whamcloud.com>
Tue, 24 Mar 2020 05:15:38 +0000 (05:15 +0000)
commit0df4a140e16dbecfbb7de3ed9d3a185e5ff252e0
treedf7149101c0b956ac4351906ce7841bbf909cf35
parent8cedafff9d46c8067385d698b645bb1d0343cd57
LU-9679 osc: discard oe_intree

An rbnode knows if it is in the tree or not, using RB_EMPTY_NODE().
There is no need for an extra flag.

Linux-Commit: a25a82301800 ("lustre: osc_cache: discard oe_intree")

Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Mr NeilBrown <neilb@suse.com>
Change-Id: Iddd4ef623d96c1cf2e0789343c02ecb095f7b6a1
Reviewed-on: https://review.whamcloud.com/37600
Reviewed-by: Wang Shilong <wshilong@ddn.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_osc.h
lustre/osc/osc_cache.c