Whamcloud - gitweb
LU-7661 mgs: restrict MGS_SET_INFO to stripe parameters 82/17982/2
authorJohn L. Hammond <john.hammond@intel.com>
Wed, 13 Jan 2016 17:16:28 +0000 (11:16 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 21 Jan 2016 03:52:34 +0000 (03:52 +0000)
commitff577af11b3eb96fbdb2de7af0cdf78ad6c8ec56
tree58ad733eefad544e34e3f03c9502b06b96bc6ad0
parent943612ac470a1f916d44f551eee01c3d51fc9546
LU-7661 mgs: restrict MGS_SET_INFO to stripe parameters

The MGS_SET_INFO RPC is only needed for setting the default striping
on a filesystem, so in mgs_set_info() reject attempts to set a
parameter that is not of the form *.lov.stripe{count,size,offset}=*.

Signed-off-by: John L. Hammond <john.hammond@intel.com>
Change-Id: I5ac693f886fd035ab639e03628849e791e1e2e9a
Reviewed-on: http://review.whamcloud.com/17982
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Sebastien Buisson <sbuisson@ddn.com>
Reviewed-by: Jeremy Filizetti <jeremy.filizetti@gmail.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mgs/mgs_handler.c