Whamcloud - gitweb
LU-10629 lod: Clear OST pool with setstripe 42/33742/2
authorBen Evans <bevans@cray.com>
Wed, 28 Nov 2018 17:51:17 +0000 (09:51 -0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 16 Jan 2019 07:31:11 +0000 (07:31 +0000)
commit8662b0e7788fe4629eb9b1c0c46cb78d8495721d
tree381be27f57c7798f9dbb037cd19a541de9f97bd2
parent496ddb5b99394142bc158b3f8b0149bcb6b6eae0
LU-10629 lod: Clear OST pool with setstripe

When setstripe -d is run on a directory, we should
clear the OST pool along with all the other settings
Currently there is no way to clear an OST pool,
only change them.

This patch is back-ported from the following one:
Lustre-commit: 37f6357a5c9f4ad0e2269529e7001f5ab63689a5
Lustre-change: https://review.whamcloud.com/31364

Signed-off-by: Ben Evans <bevans@cray.com>
Cray-bug-id: LUS-5696
Change-Id: I50426ce79ab153a715d29cc5d54b0ce70726da41
Reviewed-on: https://review.whamcloud.com/33742
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/lod/lod_object.c
lustre/tests/sanity.sh
lustre/tests/test-framework.sh