Whamcloud - gitweb
LU-10808 lod: remove DoM component if DoM is disabled 82/32482/5
authorMikhail Pershin <mike.pershin@intel.com>
Mon, 21 May 2018 18:24:05 +0000 (21:24 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 7 Jun 2018 20:08:49 +0000 (20:08 +0000)
commit3fd758ed4f40f235d26df9fd7c6b459590fbe0cf
treea2884d4717d3427dff54a521fe3d53b65861bf2c
parent687a868cc1d88ea8a10c69d9dd0a9307d9cde368
LU-10808 lod: remove DoM component if DoM is disabled

If file is created with DoM component but server disables
DoM file creation then remove DoM entry from file layout
and keep other components.
If layout has only DoM entry then just return error.

Signed-off-by: Mikhail Pershin <mike.pershin@intel.com>
Change-Id: Ibafd0269d76dc5de4599efca064930607dc556eb
Reviewed-on: https://review.whamcloud.com/32482
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/lod/lod_lov.c
lustre/tests/sanity.sh