|
I was thinking it might be Better to add an lfs command to do grouplock on a file, so that it can be used by migrate scripts as well. Mulitop is not installed by default, so it is unsuitable for use by user scripts.
The grouplock should be held until the lfs command exits, which would ensure that it cannot be leaked if the user process is killed.
What do you think?
|
|
multiop is much more useful for sanity test than lfs. So in any case it will be good to have the grouplock support in it.
An issue with lfs implementation is that it is incompatible with the "grouplock unlock at close" behaviour.
This automatic "grouplock unlock" is nice when a process holding the grouplock crashes because we have no way to recover the lock if it is not memorised somewhere by the process. The only way today to free this lock is to reboot the node.
|
|
patch for multiop + new sanity test (simple grouplock test)
http://review.whamcloud.com/2098
|
|
After landing of LU-787 I have updated the patch to change only sanity.sh to:
- add a basic test for grouplock for single node test
- replace use of hardcoded multiop by a $MULTIOP
|
|
I have updated the patch with same modification in other tests (sanityn, ...)
|
|
Integrated in lustre-reviews » x86_64,client,el6,inkernel #4610
LU-1031: add grouplock test to sanity.sh (Revision 84917e27aa59abadffc654cac7b952f63b265689)
Result = SUCCESS
jcl : 84917e27aa59abadffc654cac7b952f63b265689
Files :
- lustre/tests/sanity-quota.sh
- lustre/tests/sanity-gss.sh
- lustre/tests/runmultiop_bg_pause
- lustre/tests/sanityn.sh
- lustre/tests/sanity.sh
- lustre/tests/replay-single.sh
- lustre/tests/test-framework.sh
- lustre/tests/recovery-small.sh
|
|
Integrated in lustre-reviews » i686,client,el6,inkernel #4610
LU-1031: add grouplock test to sanity.sh (Revision 84917e27aa59abadffc654cac7b952f63b265689)
Result = SUCCESS
jcl : 84917e27aa59abadffc654cac7b952f63b265689
Files :
- lustre/tests/sanity-quota.sh
- lustre/tests/recovery-small.sh
- lustre/tests/sanity-gss.sh
- lustre/tests/sanity.sh
- lustre/tests/sanityn.sh
- lustre/tests/test-framework.sh
- lustre/tests/runmultiop_bg_pause
- lustre/tests/replay-single.sh
|
|
Integrated in lustre-reviews » x86_64,client,el5,inkernel #4610
LU-1031: add grouplock test to sanity.sh (Revision 84917e27aa59abadffc654cac7b952f63b265689)
Result = SUCCESS
jcl : 84917e27aa59abadffc654cac7b952f63b265689
Files :
- lustre/tests/recovery-small.sh
- lustre/tests/sanity-quota.sh
- lustre/tests/sanity-gss.sh
- lustre/tests/replay-single.sh
- lustre/tests/test-framework.sh
- lustre/tests/sanityn.sh
- lustre/tests/sanity.sh
- lustre/tests/runmultiop_bg_pause
|
|
Integrated in lustre-reviews » i686,server,el5,inkernel #4610
LU-1031: add grouplock test to sanity.sh (Revision 84917e27aa59abadffc654cac7b952f63b265689)
Result = SUCCESS
jcl : 84917e27aa59abadffc654cac7b952f63b265689
Files :
- lustre/tests/replay-single.sh
- lustre/tests/sanity-quota.sh
- lustre/tests/recovery-small.sh
- lustre/tests/sanityn.sh
- lustre/tests/test-framework.sh
- lustre/tests/sanity-gss.sh
- lustre/tests/runmultiop_bg_pause
- lustre/tests/sanity.sh
|
|
Integrated in lustre-reviews » x86_64,server,el6,inkernel #4610
LU-1031: add grouplock test to sanity.sh (Revision 84917e27aa59abadffc654cac7b952f63b265689)
Result = SUCCESS
jcl : 84917e27aa59abadffc654cac7b952f63b265689
Files :
- lustre/tests/test-framework.sh
- lustre/tests/recovery-small.sh
- lustre/tests/sanityn.sh
- lustre/tests/runmultiop_bg_pause
- lustre/tests/sanity-quota.sh
- lustre/tests/sanity-gss.sh
- lustre/tests/sanity.sh
- lustre/tests/replay-single.sh
|
|
Integrated in lustre-reviews » i686,server,el6,inkernel #4610
LU-1031: add grouplock test to sanity.sh (Revision 84917e27aa59abadffc654cac7b952f63b265689)
Result = SUCCESS
jcl : 84917e27aa59abadffc654cac7b952f63b265689
Files :
- lustre/tests/replay-single.sh
- lustre/tests/recovery-small.sh
- lustre/tests/sanity.sh
- lustre/tests/sanityn.sh
- lustre/tests/runmultiop_bg_pause
- lustre/tests/sanity-quota.sh
- lustre/tests/sanity-gss.sh
- lustre/tests/test-framework.sh
|
|
Integrated in lustre-reviews » x86_64,server,el5,inkernel #4610
LU-1031: add grouplock test to sanity.sh (Revision 84917e27aa59abadffc654cac7b952f63b265689)
Result = SUCCESS
jcl : 84917e27aa59abadffc654cac7b952f63b265689
Files :
- lustre/tests/sanity-gss.sh
- lustre/tests/recovery-small.sh
- lustre/tests/runmultiop_bg_pause
- lustre/tests/replay-single.sh
- lustre/tests/test-framework.sh
- lustre/tests/sanityn.sh
- lustre/tests/sanity.sh
- lustre/tests/sanity-quota.sh
|
|
Integrated in lustre-reviews » i686,client,el5,inkernel #4610
LU-1031: add grouplock test to sanity.sh (Revision 84917e27aa59abadffc654cac7b952f63b265689)
Result = SUCCESS
jcl : 84917e27aa59abadffc654cac7b952f63b265689
Files :
- lustre/tests/sanity.sh
- lustre/tests/test-framework.sh
- lustre/tests/runmultiop_bg_pause
- lustre/tests/sanityn.sh
- lustre/tests/recovery-small.sh
- lustre/tests/sanity-quota.sh
- lustre/tests/replay-single.sh
- lustre/tests/sanity-gss.sh
|
|
Integrated in lustre-reviews » x86_64,client,el6,inkernel #4628
LU-1031: add grouplock test to sanity.sh (Revision 6c1e13a0835d20db9c4abff37268c40a5ed6530c)
Result = SUCCESS
jcl : 6c1e13a0835d20db9c4abff37268c40a5ed6530c
Files :
- lustre/tests/recovery-small.sh
- lustre/tests/sanity.sh
- lustre/tests/replay-vbr.sh
- lustre/tests/replay-single.sh
- lustre/tests/runmultiop_bg_pause
- lustre/tests/test-framework.sh
- lustre/tests/sanity-quota.sh
- lustre/tests/sanityn.sh
- lustre/tests/sanity-gss.sh
|
|
Integrated in lustre-reviews » i686,client,el6,inkernel #4628
LU-1031: add grouplock test to sanity.sh (Revision 6c1e13a0835d20db9c4abff37268c40a5ed6530c)
Result = SUCCESS
jcl : 6c1e13a0835d20db9c4abff37268c40a5ed6530c
Files :
- lustre/tests/runmultiop_bg_pause
- lustre/tests/test-framework.sh
- lustre/tests/replay-single.sh
- lustre/tests/sanityn.sh
- lustre/tests/sanity-gss.sh
- lustre/tests/recovery-small.sh
- lustre/tests/sanity.sh
- lustre/tests/sanity-quota.sh
- lustre/tests/replay-vbr.sh
|
|
Integrated in lustre-reviews » x86_64,client,sles11,inkernel #4628
LU-1031: add grouplock test to sanity.sh (Revision 6c1e13a0835d20db9c4abff37268c40a5ed6530c)
Result = SUCCESS
jcl : 6c1e13a0835d20db9c4abff37268c40a5ed6530c
Files :
- lustre/tests/recovery-small.sh
- lustre/tests/sanity.sh
- lustre/tests/sanityn.sh
- lustre/tests/sanity-gss.sh
- lustre/tests/sanity-quota.sh
- lustre/tests/runmultiop_bg_pause
- lustre/tests/replay-vbr.sh
- lustre/tests/test-framework.sh
- lustre/tests/replay-single.sh
|
|
Integrated in lustre-reviews » x86_64,client,el5,inkernel #4628
LU-1031: add grouplock test to sanity.sh (Revision 6c1e13a0835d20db9c4abff37268c40a5ed6530c)
Result = SUCCESS
jcl : 6c1e13a0835d20db9c4abff37268c40a5ed6530c
Files :
- lustre/tests/replay-single.sh
- lustre/tests/sanityn.sh
- lustre/tests/test-framework.sh
- lustre/tests/sanity-quota.sh
- lustre/tests/replay-vbr.sh
- lustre/tests/sanity-gss.sh
- lustre/tests/recovery-small.sh
- lustre/tests/sanity.sh
- lustre/tests/runmultiop_bg_pause
|
|
Integrated in lustre-reviews » i686,server,el5,inkernel #4628
LU-1031: add grouplock test to sanity.sh (Revision 6c1e13a0835d20db9c4abff37268c40a5ed6530c)
Result = SUCCESS
jcl : 6c1e13a0835d20db9c4abff37268c40a5ed6530c
Files :
- lustre/tests/sanityn.sh
- lustre/tests/test-framework.sh
- lustre/tests/recovery-small.sh
- lustre/tests/replay-vbr.sh
- lustre/tests/sanity-quota.sh
- lustre/tests/runmultiop_bg_pause
- lustre/tests/replay-single.sh
- lustre/tests/sanity.sh
- lustre/tests/sanity-gss.sh
|
|
Integrated in lustre-reviews » x86_64,server,el6,inkernel #4628
LU-1031: add grouplock test to sanity.sh (Revision 6c1e13a0835d20db9c4abff37268c40a5ed6530c)
Result = SUCCESS
jcl : 6c1e13a0835d20db9c4abff37268c40a5ed6530c
Files :
- lustre/tests/sanityn.sh
- lustre/tests/sanity-gss.sh
- lustre/tests/runmultiop_bg_pause
- lustre/tests/replay-single.sh
- lustre/tests/recovery-small.sh
- lustre/tests/sanity-quota.sh
- lustre/tests/test-framework.sh
- lustre/tests/replay-vbr.sh
- lustre/tests/sanity.sh
|
|
Integrated in lustre-reviews » i686,server,el6,inkernel #4628
LU-1031: add grouplock test to sanity.sh (Revision 6c1e13a0835d20db9c4abff37268c40a5ed6530c)
Result = SUCCESS
jcl : 6c1e13a0835d20db9c4abff37268c40a5ed6530c
Files :
- lustre/tests/test-framework.sh
- lustre/tests/replay-vbr.sh
- lustre/tests/sanity-quota.sh
- lustre/tests/replay-single.sh
- lustre/tests/sanity-gss.sh
- lustre/tests/recovery-small.sh
- lustre/tests/runmultiop_bg_pause
- lustre/tests/sanity.sh
- lustre/tests/sanityn.sh
|
|
Integrated in lustre-reviews » x86_64,server,el5,inkernel #4628
LU-1031: add grouplock test to sanity.sh (Revision 6c1e13a0835d20db9c4abff37268c40a5ed6530c)
Result = SUCCESS
jcl : 6c1e13a0835d20db9c4abff37268c40a5ed6530c
Files :
- lustre/tests/sanity-quota.sh
- lustre/tests/recovery-small.sh
- lustre/tests/runmultiop_bg_pause
- lustre/tests/sanity.sh
- lustre/tests/replay-vbr.sh
- lustre/tests/sanityn.sh
- lustre/tests/replay-single.sh
- lustre/tests/test-framework.sh
- lustre/tests/sanity-gss.sh
|
|
Integrated in lustre-reviews » i686,client,el5,inkernel #4628
LU-1031: add grouplock test to sanity.sh (Revision 6c1e13a0835d20db9c4abff37268c40a5ed6530c)
Result = SUCCESS
jcl : 6c1e13a0835d20db9c4abff37268c40a5ed6530c
Files :
- lustre/tests/sanity-gss.sh
- lustre/tests/runmultiop_bg_pause
- lustre/tests/replay-vbr.sh
- lustre/tests/test-framework.sh
- lustre/tests/sanity.sh
- lustre/tests/sanityn.sh
- lustre/tests/replay-single.sh
- lustre/tests/recovery-small.sh
- lustre/tests/sanity-quota.sh
|
|
This was landed to master in http://review.whamcloud.com/2081 via LU-787.
|
Generated at Sat Feb 10 01:12:50 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.