Whamcloud - gitweb
LU-3240 mdc: Check for all attributes validity in revalidate
authorAlexander.Boyko <alexander_boyko@xyratex.com>
Mon, 27 May 2013 08:25:51 +0000 (12:25 +0400)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 19 Nov 2013 23:00:03 +0000 (08:00 +0900)
commit26630921907d041e5913b7030da817d4881c50da
treeb23ea7951dfe7e827830729263cd868f5b09a6ee
parentb3f2e72219d08a8d5ecf47da028f09956f5d1cdb
LU-3240 mdc: Check for all attributes validity in revalidate

GETATTR needs to return attributes protected by different bits, so
we need to ensure all we have locks with all of those bits, not
just UPDATE bit.

Xyratex-bug-id: MRP-1052
Signed-off-by: Alexey Lyashkov <alexey_lyashkov@xyratex.com>
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Change-Id: I0e27a33341c424a8666bdbf3cdb83b1b4fe0058f
Reviewed-on: http://review.whamcloud.com/6460
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: wangdi <di.wang@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/mdc/mdc_locks.c
lustre/tests/sanity.sh