Whamcloud - gitweb
LU-12542 osd: consolidate RCU handling 04/40204/2
authorAndreas Dilger <adilger@whamcloud.com>
Thu, 3 Sep 2020 22:37:47 +0000 (16:37 -0600)
committerOleg Drokin <green@whamcloud.com>
Mon, 19 Oct 2020 03:13:58 +0000 (03:13 +0000)
commitbf7431d6e14c8a0a530cf7ed538d579cc2057e78
tree5b9b811f70456d2dabfb6d47c406885f967e02de
parent20144e92fcaed217fa5485edafa6bda7e34e69b0
LU-12542 osd: consolidate RCU handling

Consolidate lu_object_header_fini() and kfree_rcu() into a
single lu_object_header_free() function so that callers
which do not need a container for lu_object_header can
avoid duplicating common RCU and OBD_FREE handling code.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I0fa68f11b5008ede5a498d38b69ccaeecf3ebbe5
Reviewed-on: https://review.whamcloud.com/40204
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Ben Evans <beevans@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lu_object.h
lustre/obdclass/lu_object.c
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-zfs/osd_object.c