Whamcloud - gitweb
LU-3027 clio: Do not shrink sublock at cancel 81/7481/4
authorOleg Drokin <oleg.drokin@intel.com>
Thu, 29 Aug 2013 09:10:06 +0000 (17:10 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 30 Aug 2013 04:15:25 +0000 (04:15 +0000)
commitfcf44d0a05ebd9bc9c2ce52c314b0e67a656140e
tree7d4a61fe7a7326301a6ed1458757a256725c9ddc
parent29c75754814f391682a96c44715cfa4b1f21354c
LU-3027 clio: Do not shrink sublock at cancel

Shrinking sublock at ldlm lock cancel time means whoever happened
to attach to this lock just before will reenqueue the wrong lock.

Test-Parameters: envdefinitions=SLOW=yes,ONLY=write_disjoint \
clientdistro=el6 serverdistro=el6 clientarch=x86_64 \
serverarch=x86_64 testlist=parallel-scale

Change-Id: I8f2de683812621fb2f8d761cf2aceebc12868d75
Signed-off-by: Oleg Drokin <oleg.drokin@intel.com>
Signed-off-by: Jian Yu <jian.yu@intel.com>
Reviewed-on: http://review.whamcloud.com/7481
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Reviewed-by: Bobi Jam <bobijam@gmail.com>
lustre/lov/lovsub_lock.c