commit | 35c8bb543c9e83197e6375142d1d1c2ee3cf017d | [log] [tgz] |
---|---|---|
author | Benny Halevy <bhalevy@panasas.com> | Tue May 24 18:04:02 2011 +0300 |
committer | Boaz Harrosh <bharrosh@panasas.com> | Sun May 29 20:52:31 2011 +0300 |
tree | f0f8a69c1586a8d24526223ed70a922c934f9b87 | |
parent | 1be5683b03a766670b3b629bf6bfeab3ca9239d8 [diff] |
NFSv4.1: use layout driver in global device cache pnfs deviceids are unique per server, per layout type. struct nfs_client is currently used to distinguish deviceids from different nfs servers, yet these may clash between different layout types on the same server. Therefore, use the layout driver associated with each deviceid at insertion time to look it up, unhash, or delete it. Signed-off-by: Benny Halevy <bhalevy@panasas.com>