Whamcloud - gitweb
LU-12491 obdclass: add comment for rcu handling in lu_env_remove 88/35488/2
authorJames Simmons <jsimmons@infradead.org>
Mon, 8 Jul 2019 20:47:40 +0000 (16:47 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 26 Jul 2019 18:53:29 +0000 (18:53 +0000)
commitc579e6f6c28d0480bd4a815d9ad9134d3c913343
tree1e418fe8ceaea7f5208d63bd4128712a3b514939
parentcf2b060ccad73359151867ad419e36f746c9f241
LU-12491 obdclass: add comment for rcu handling in lu_env_remove

During the review it was pointed out why the RCU lock was dropped
in lu_env_remove() but the code itself doesn't explain why. Add
a comment giving the details why RCU locking is not needed.

Test-parameters: trivial

Lustre-change: https://review.whamcloud.com/35447
Lustre-commit: 709fbe6ee54aa2e601237a6981db3d42a8a719cd

Change-Id: I4fd761d2e1b4adad8e970904d56cdcd057dfe7d5
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Shaun Tancheff <stancheff@cray.com>
Reviewed-by: Neil Brown <neilb@suse.com>
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/35488
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/obdclass/lu_object.c