Whamcloud - gitweb
LU-3027 clio: Do not shrink sublock at cancel
authorOleg Drokin <oleg.drokin@intel.com>
Thu, 29 Aug 2013 09:10:06 +0000 (17:10 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 31 Aug 2013 18:42:30 +0000 (14:42 -0400)
commit3781d4465c9fa72120f35084d4eb5edb55a0b66a
tree8156e86fe37ab446c35b7dc7ac3d226678c691a8
parent97db182e9f7c695dbe016f5fc4af24170bf6e0c8
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