Whamcloud - gitweb
LU-4405 mdc: use ibits_known mask for lock match 47/8847/3
authorAlexey Lyashkov <alexey_lyashkov@xyratex.com>
Tue, 11 Feb 2014 09:10:44 +0000 (17:10 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 22 May 2014 04:51:24 +0000 (04:51 +0000)
commitd1d56f6472904c376d14e9ca7b0038ae2c2810d4
tree036dee0a10da5f7b470f9c5bca35f5b1bf2c1c88
parent686a35fa4c6459448dc0c52052964991914ed136
LU-4405 mdc: use ibits_known mask for lock match

Before revalidating a lock on the client, mask the lock bits against
the lock bits supported by the server (ibits_known), so newer clients
will find valid locks given by older server versions.

Xyratex-bug-id: MRP-1583

Lustre-commit: 6b557f04e55b14e11b7fce310094e71331c8b204
Lustre-change: http://review.whamcloud.com/8636

Signed-off-by: Patrick Farrell <paf@cray.com>
Signed-off-by: Alexey Lyashkov <alexey_lyashkov@xyratex.com>
Signed-off-by: Bob Glossman <bob.glossman@intel.com>
Signed-off-by: Jian Yu <jian.yu@intel.com>
Change-Id: I7088217fe28e45f1be6c8d1145b42de0f6228372
Reviewed-on: http://review.whamcloud.com/8847
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/include/lustre_export.h
lustre/mdc/mdc_locks.c