Whamcloud - gitweb
LU-5916 lod: inherit default pool setting properly 46/12746/7
authorNiu Yawei <yawei.niu@intel.com>
Mon, 17 Nov 2014 06:59:44 +0000 (01:59 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 19 Dec 2014 15:04:28 +0000 (15:04 +0000)
commite8214d6bd4ccc3ff386c77904664c60f1848ef11
treeb3ab1281f8656e380343e377a3fdc32e39cecb15
parent3740cc5acd83b99f185dc4bf8ea27cf472ab51d2
LU-5916 lod: inherit default pool setting properly

When parent directory has no default striping but has only
default pool setting, the pool setting should be inherited
by subdir properly.

This patch fixed the problem by changing the
LOVEA_DELETE_VALUES() to check pool name as well, and it
removed the unused function lod_store_def_striping().

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: I7ce5251b6c601309aeb91a1b903bde02d0712e25
Reviewed-on: http://review.whamcloud.com/12746
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: wangdi <di.wang@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
lustre/lod/lod_internal.h
lustre/lod/lod_lov.c
lustre/lod/lod_object.c
lustre/mdd/mdd_dir.c
lustre/tests/sanity.sh