forked from champios/lustre-nas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LU-1718 client: Restore NFS export for Lustre on 3.X kernels
In Linux 3.0+ kernels struct file_system_type changed the get_sb function to a new function called mount which was different in that the vfsmount data was no longer passed in. The vfsmount data was used by the llite layer for nfs export function called get_name to search for filp that was then used with the ll_readdir method. The approach to solve this change was to go the route of btrfs and gfs2 to refactor some of the llite methods to implement a directory scan independent of filp which could be shared with nfs export funtionality. Signed-off-by: James Simmons <[email protected]> Change-Id: I72730476b120cec1ede6e03c774c9e470a1a5a70 Reviewed-on: http://review.whamcloud.com/3624 Tested-by: Hudson Reviewed-by: Andreas Dilger <[email protected]> Reviewed-by: Fan Yong <[email protected]> Tested-by: Maloo <[email protected]>
- Loading branch information
1 parent
3b2d496
commit d8b4866
Showing
5 changed files
with
55 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters