OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 0/3] SUNRPC: three bugfixes for PipeFS event handling
[PATCH 0/3] SUNRPC: three bugfixes for PipeFS event handling [message #45968] Fri, 20 April 2012 14:18 Go to next message
Stanislav Kinsbursky is currently offline  Stanislav Kinsbursky
Messages: 683
Registered: October 2011
Senior Member
From: *parallels.com
These bugfixes were caught (or noticed) due to the following simple script:

============================================================ ==========

#!/bin/bash
service rpcbind stop
service rpcidmapd stop
killall -TERM rpc.statd
umount /var/lib/nfs/rpc_pipefs
rmmod nfs
service rpcbind start
service nfs start
mount -t rpc_pipefs sunrpc /var/lib/nfs/rpc_pipefs

============================================================ ===========

The following series consists of:

---

Stanislav Kinsbursky (3):
SUNRPC: skip clients with program without PipeFS entries
SUNRPC: traverse clients tree on PipeFS event
SUNRPC: set per-net PipeFS superblock before notification


net/sunrpc/clnt.c | 34 ++++++++++++++++++++++++++++------
net/sunrpc/rpc_pipe.c | 3 ++-
2 files changed, 30 insertions(+), 7 deletions(-)
Re: [PATCH 0/3] SUNRPC: three bugfixes for PipeFS event handling [message #46094 is a reply to message #45968] Wed, 25 April 2012 18:24 Go to previous messageGo to next message
bfields is currently offline  bfields
Messages: 107
Registered: September 2007
Senior Member
From: *parallels.com
On Fri, Apr 20, 2012 at 06:18:59PM +0400, Stanislav Kinsbursky wrote:
> These bugfixes were caught (or noticed) due to the following simple script:

I'm assuming Trond should take these (possibly for 3.4?).

--b.

>
> ============================================================ ==========
>
> #!/bin/bash
> service rpcbind stop
> service rpcidmapd stop
> killall -TERM rpc.statd
> umount /var/lib/nfs/rpc_pipefs
> rmmod nfs
> service rpcbind start
> service nfs start
> mount -t rpc_pipefs sunrpc /var/lib/nfs/rpc_pipefs
>
> ============================================================ ===========
>
> The following series consists of:
>
> ---
>
> Stanislav Kinsbursky (3):
> SUNRPC: skip clients with program without PipeFS entries
> SUNRPC: traverse clients tree on PipeFS event
> SUNRPC: set per-net PipeFS superblock before notification
>
>
> net/sunrpc/clnt.c | 34 ++++++++++++++++++++++++++++------
> net/sunrpc/rpc_pipe.c | 3 ++-
> 2 files changed, 30 insertions(+), 7 deletions(-)
>
Re: [PATCH 0/3] SUNRPC: three bugfixes for PipeFS event handling [message #46097 is a reply to message #46094] Wed, 25 April 2012 20:59 Go to previous messageGo to next message
Stanislav Kinsbursky is currently offline  Stanislav Kinsbursky
Messages: 683
Registered: October 2011
Senior Member
From: *parallels.com
25.04.2012 22:24, J. Bruce Fields написал:
> On Fri, Apr 20, 2012 at 06:18:59PM +0400, Stanislav Kinsbursky wrote:
>> These bugfixes were caught (or noticed) due to the following simple script:
> I'm assuming Trond should take these (possibly for 3.4?).

I think so.
But would be great if you'll take them as well (since I'm mostly working
with your tree).
Of course, only if its not a big deal for you.
But if there will be any conflicts - then don't worry. I can just keep
these patches in my repo.

> --b.
>
>> ============================================================ ==========
>>
>> #!/bin/bash
>> service rpcbind stop
>> service rpcidmapd stop
>> killall -TERM rpc.statd
>> umount /var/lib/nfs/rpc_pipefs
>> rmmod nfs
>> service rpcbind start
>> service nfs start
>> mount -t rpc_pipefs sunrpc /var/lib/nfs/rpc_pipefs
>>
>> ============================================================ ===========
>>
>> The following series consists of:
>>
>> ---
>>
>> Stanislav Kinsbursky (3):
>> SUNRPC: skip clients with program without PipeFS entries
>> SUNRPC: traverse clients tree on PipeFS event
>> SUNRPC: set per-net PipeFS superblock before notification
>>
>>
>> net/sunrpc/clnt.c | 34 ++++++++++++++++++++++++++++------
>> net/sunrpc/rpc_pipe.c | 3 ++-
>> 2 files changed, 30 insertions(+), 7 deletions(-)
>>
Re: [PATCH 0/3] SUNRPC: three bugfixes for PipeFS event handling [message #46098 is a reply to message #46097] Wed, 25 April 2012 21:02 Go to previous message
bfields is currently offline  bfields
Messages: 107
Registered: September 2007
Senior Member
From: *parallels.com
On Thu, Apr 26, 2012 at 12:59:07AM +0400, Stanislav Kinsbursky wrote:
> 25.04.2012 22:24, J. Bruce Fields написал:
> >On Fri, Apr 20, 2012 at 06:18:59PM +0400, Stanislav Kinsbursky wrote:
> >>These bugfixes were caught (or noticed) due to the following simple script:
> >I'm assuming Trond should take these (possibly for 3.4?).
>
> I think so.
> But would be great if you'll take them as well (since I'm mostly
> working with your tree).
> Of course, only if its not a big deal for you.
> But if there will be any conflicts - then don't worry. I can just
> keep these patches in my repo.

If it's a bugfix that should go to 3.4, then best might be for Trond to
get it merged, then I'll pull it into my tree after that.

Or I'm happy to do it some other way if someone prefers.

--b.
Previous Topic: [PATCH 1/6] LockD: pass service to per-net up and down functions
Next Topic: [PATCH v2] SUNRPC: skip dead but not buried clients on PipeFS events
Goto Forum:
  


Current Time: Sun Sep 23 00:18:31 GMT 2018