patch for flex file layout client driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

When testing the Linux NFSv4.1 client against the FreeBSD pNFS service that
uses Flexible File Layout and the "tightly coupled" model, I found a couple
of issues. Basically the stateid and AUTH_SYS credentials were not being filled
in the way the "tightly coupled" model requires.
I came up with a patch that changes the driver for the "tightly coupled" model
in two ways:
1 - It uses the credentials of the request and not the synthetic credentials in the
     AUTH_SYS RPC header for the DS I/O rpcs.
2 - It uses the stateid provided in the layout for the Read/Write operations on the
     DS.
It has worked fine for me during moderate testing and I do not believe it changes
the driver semantics for the "loosely coupled" case.
This patch can be found here:
http://people.freebsd.org/~rmacklem/flexfile.patch
(against a linux-4.17-rc2 kernel)

I am hoping someone can review this and maybe upstream it for a future
Linux kernel release?
(I can test any modified patch, if that is needed.)

Btw, if anyone is interested in trying the FreeBSD pNFS service for testing this
patch (or anything else), information on it can be found here:
http://people.freebsd.org/~rmacklem/pnfs-planb-setup.txt

Have fun with it, rick
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux