Re: [PATCH] zerocopy NFS updated

Hirokazu Takahashi
2002-04-15T01:30:45Z

Hello, David

If you don't mind, could you give me some advises about
the sendpage mechanism.

I'd like to implenent sendpage of UDP stack which NFS uses heavily.
It may improve the performance of NFS over UDP dramastically.

I wonder if there were "SENDPAGES" interface instead of sendpage
between socket layer and inet layer, we could send some pages
atomically with low overhead.
And it could make implementing RPC over UDP easier
to send multiple pages as one UDP pakcet easily.

How do you think about this approach?

davem> I don't see it as a big problem and would just leave it as it is
davem> (for NFS and local)
davem>
davem> I agree with Andi. You can basically throw away my whole argument
davem> about this. Applications that require synchonization between the
davem> writer of file contents and reader of file contents must do some
davem> kind of locking amongst themselves at user level.

OK.

Regards,
Hirokazu Takahashi