Kernel->defconfig:ubuntu support nfs
This commit is contained in:
@ -602,6 +602,13 @@ CONFIG_VFAT_FS=y
|
|||||||
CONFIG_TMPFS=y
|
CONFIG_TMPFS=y
|
||||||
CONFIG_TMPFS_POSIX_ACL=y
|
CONFIG_TMPFS_POSIX_ACL=y
|
||||||
# CONFIG_MISC_FILESYSTEMS is not set
|
# CONFIG_MISC_FILESYSTEMS is not set
|
||||||
|
CONFIG_NFS_FS=y
|
||||||
|
CONFIG_NFS_V3_ACL=y
|
||||||
|
CONFIG_NFS_V4=y
|
||||||
|
CONFIG_NFS_V4_1=y
|
||||||
|
CONFIG_NFSD=y
|
||||||
|
CONFIG_NFSD_V3_ACL=y
|
||||||
|
CONFIG_NFSD_V4=y
|
||||||
CONFIG_CIFS=y
|
CONFIG_CIFS=y
|
||||||
CONFIG_CIFS_XATTR=y
|
CONFIG_CIFS_XATTR=y
|
||||||
CONFIG_CIFS_POSIX=y
|
CONFIG_CIFS_POSIX=y
|
||||||
|
|||||||
@ -602,6 +602,13 @@ CONFIG_VFAT_FS=y
|
|||||||
CONFIG_TMPFS=y
|
CONFIG_TMPFS=y
|
||||||
CONFIG_TMPFS_POSIX_ACL=y
|
CONFIG_TMPFS_POSIX_ACL=y
|
||||||
# CONFIG_MISC_FILESYSTEMS is not set
|
# CONFIG_MISC_FILESYSTEMS is not set
|
||||||
|
CONFIG_NFS_FS=y
|
||||||
|
CONFIG_NFS_V3_ACL=y
|
||||||
|
CONFIG_NFS_V4=y
|
||||||
|
CONFIG_NFS_V4_1=y
|
||||||
|
CONFIG_NFSD=y
|
||||||
|
CONFIG_NFSD_V3_ACL=y
|
||||||
|
CONFIG_NFSD_V4=y
|
||||||
CONFIG_CIFS=y
|
CONFIG_CIFS=y
|
||||||
CONFIG_CIFS_XATTR=y
|
CONFIG_CIFS_XATTR=y
|
||||||
CONFIG_CIFS_POSIX=y
|
CONFIG_CIFS_POSIX=y
|
||||||
|
|||||||
@ -1887,3 +1887,16 @@ void inode_dio_wait(struct inode *inode)
|
|||||||
}
|
}
|
||||||
EXPORT_SYMBOL(inode_dio_wait);
|
EXPORT_SYMBOL(inode_dio_wait);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* inode_dio_done - signal finish of a direct I/O requests
|
||||||
|
* @inode: inode the direct I/O happens on
|
||||||
|
*
|
||||||
|
* This is called once we've finished processing a direct I/O request,
|
||||||
|
* and is used to wake up callers waiting for direct I/O to be quiesced.
|
||||||
|
*/
|
||||||
|
void inode_dio_done(struct inode *inode)
|
||||||
|
{
|
||||||
|
if (atomic_dec_and_test(&inode->i_dio_count))
|
||||||
|
wake_up_bit(&inode->i_state, __I_DIO_WAKEUP);
|
||||||
|
}
|
||||||
|
EXPORT_SYMBOL(inode_dio_done);
|
||||||
|
|||||||
@ -62,6 +62,7 @@
|
|||||||
#define NFSDBG_FACILITY NFSDBG_VFS
|
#define NFSDBG_FACILITY NFSDBG_VFS
|
||||||
|
|
||||||
static struct kmem_cache *nfs_direct_cachep;
|
static struct kmem_cache *nfs_direct_cachep;
|
||||||
|
extern void inode_dio_done(struct inode *inode);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This represents a set of asynchronous requests that we're waiting on
|
* This represents a set of asynchronous requests that we're waiting on
|
||||||
|
|||||||
Reference in New Issue
Block a user