* Testing sm-notify
@ 2011-01-31 9:45 Łukasz Oleś
2011-01-31 15:43 ` J. Bruce Fields
0 siblings, 1 reply; 2+ messages in thread
From: Łukasz Oleś @ 2011-01-31 9:45 UTC (permalink / raw)
To: linux-nfs; +Cc: Artur Piechocki
Hello,
I am using nfs-utils version 1.2.3. I am trying to test sm-notify, I have 2
test scenarios:
First one:
1 server, 2 clients - client 1 locks file on nfs server, client 2 is trying to
lock the same file and waiting. I'm restarting client 1, client 2 locks file.
Everything works fine
Second:
1 server, 1 client - client locks file. I'm restarting server and client
should relock file, but I don't know any program which can do it.
How do you testing this scenario? Can you recommend any program which can
automaticly lock file again?
Regards,
--
Łukasz Oleś
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Testing sm-notify
2011-01-31 9:45 Testing sm-notify Łukasz Oleś
@ 2011-01-31 15:43 ` J. Bruce Fields
0 siblings, 0 replies; 2+ messages in thread
From: J. Bruce Fields @ 2011-01-31 15:43 UTC (permalink / raw)
To: Łukasz Oleś; +Cc: linux-nfs, Artur Piechocki
On Mon, Jan 31, 2011 at 10:45:01AM +0100, Łukasz Oleś wrote:
> Hello,
>
> I am using nfs-utils version 1.2.3. I am trying to test sm-notify, I have 2
> test scenarios:
>
> First one:
> 1 server, 2 clients - client 1 locks file on nfs server, client 2 is trying to
> lock the same file and waiting. I'm restarting client 1, client 2 locks file.
> Everything works fine
>
> Second:
> 1 server, 1 client - client locks file. I'm restarting server and client
> should relock file, but I don't know any program which can do it.
>
> How do you testing this scenario? Can you recommend any program which can
> automaticly lock file again?
I don't understand the question.
One way to test that behavior is correct might be using 2 clients:
client 1 acquires lock, server reboots, then client 2 requests same
lock after reboot. If client 1 managed to reacquire the lock during the
grace period, then client 2's lock request should continue to block.
--b.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-31 15:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-31 9:45 Testing sm-notify Łukasz Oleś
2011-01-31 15:43 ` J. Bruce Fields
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).