Whamcloud - gitweb
LU-1864 osd-zfs: Use the correct lu_site in arc_prune_func()
authorLi Wei <liwei@whamcloud.com>
Fri, 14 Sep 2012 02:23:31 +0000 (10:23 +0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 21 Sep 2012 00:33:19 +0000 (20:33 -0400)
commit7725caada6d0e96490ad3a6e766fdd5f4915fa1e
tree524e705a4f88ac9138e47ffd1d6fb6d9ea7e40c2
parent1ad6096da8aede4f5a0d59a435f8d15f596c166a
LU-1864 osd-zfs: Use the correct lu_site in arc_prune_func()

arc_prune_func() purges osd_device::od_site.  While this is correct on
orion and master, b2_3 does not initialize or use osd_device::od_site
at all.  This patch changes arc_prune_func() to use the correct
lu_site from osd_device::...::ld_site, which points to
ofd_device::ofd_site.

Change-Id: I2344886fd9bd5f6166907489c772f93a717ed5ad
Signed-off-by: Li Wei <liwei@whamcloud.com>
Reviewed-on: http://review.whamcloud.com/3988
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Johann Lombardi <johann@whamcloud.com>
lustre/osd-zfs/osd_handler.c