Whamcloud - gitweb
LU-5916 lod: inherit default pool setting properly 11/13411/2
authorNiu Yawei <yawei.niu@intel.com>
Sun, 11 Jan 2015 11:01:31 +0000 (06:01 -0500)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 27 Jan 2015 02:42:34 +0000 (02:42 +0000)
commit56211bf18fbca9930d77cea1ee0e3f2d83d59ec4
tree2fcacd2d12909c81864ba55ab689c513b4ceade0
parentce75d8f368a506993730da4224f4cfc18c2a0260
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().

Lustre-commit: e8214d6bd4ccc3ff386c77904664c60f1848ef11
Lustre-change: http://review.whamcloud.com/#/c/12746/

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: I8ab9623772bb0d78965396daaab54353f07228f0
Reviewed-on: http://review.whamcloud.com/13411
Tested-by: Jenkins
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/include/lustre_lib.h
lustre/lod/lod_lov.c
lustre/lod/lod_object.c
lustre/tests/sanity.sh