aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/inode.c
AgeCommit message (Expand)AuthorFilesLines
10 daysMerge tag 'nfs-for-6.9-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-1/+6
2024-04-04nfs: Handle error of rpc_proc_register() in nfs_net_init().Kuniyuki Iwashima1-1/+6
2024-03-16Merge tag 'nfs-for-6.9-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-4/+4
2024-03-12mm, slab: remove last vestiges of SLAB_MEM_SPREADLinus Torvalds1-1/+1
2024-03-09nfs: make the rpc_stat per net namespaceJosef Bacik1-1/+3
2024-03-09nfs: expose /proc/net/sunrpc/nfs in net namespacesJosef Bacik1-4/+2
2023-10-18nfs: convert to new timestamp accessorsJeff Layton1-15/+15
2023-08-09fs: pass the request_mask to generic_fillattrJeff Layton1-1/+1
2023-07-24nfs: convert to ctime accessor functionsJeff Layton1-10/+10
2023-06-19nfs: don't report STATX_BTIME in ->getattrJeff Layton1-1/+1
2023-04-29Merge tag 'nfs-for-6.4-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-15/+99
2023-04-11NFSv3: handle out-of-order write replies.NeilBrown1-15/+97
2023-04-11NFS: Convert buffered read paths to use netfs when fscache is enabledDave Wysochanski1-0/+2
2023-03-30nfs: use vfs setgid helperChristian Brauner1-3/+1
2023-02-20Merge tag 'fs.idmapped.v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-3/+3
2023-01-26nfs: report the inode version in getattr if requestedJeff Layton1-4/+12
2023-01-19fs: port ->getattr() to pass mnt_idmapChristian Brauner1-2/+2
2023-01-19fs: port ->setattr() to pass mnt_idmapChristian Brauner1-1/+1
2022-12-06NFS: make sure open context mode have FMODE_EXEC when file open for execChenXiaoSong1-1/+2
2022-10-13Merge tag 'nfs-for-6.1-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-3/+3
2022-10-10Merge tag 'sched-core-2022-10-07' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-8/+4
2022-10-03nfs: remove unnecessary (void*) conversions.yuzhe1-3/+3
2022-09-07freezer,sched: Rewrite core freezer logicPeter Zijlstra1-8/+4
2022-08-13NFS: Fix another fsync() issue after a server rebootTrond Myklebust1-0/+1
2022-04-08Merge tag 'nfs-for-5.18-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-1/+0
2022-03-29Revert "NFSv4: Handle the special Linux file open access mode"ChenXiaoSong1-1/+0
2022-03-29Merge tag 'nfs-for-5.18-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-43/+43
2022-03-22fs: allocate inode by using alloc_inode_sb()Muchun Song1-1/+1
2022-03-02NFS: Don't ask for readdirplus unless it can help nfs_getattr()Trond Myklebust1-20/+25
2022-03-02NFS: Improve heuristic for readdirplusTrond Myklebust1-2/+2
2022-02-25NFS: Remove unnecessary XATTR cache invalidation in nfs_fhget()Trond Myklebust1-2/+0
2022-02-25NFS: Remove unused flag NFS_INO_REVAL_PAGECACHETrond Myklebust1-3/+2
2022-02-25NFS: Replace last uses of NFS_INO_REVAL_PAGECACHETrond Myklebust1-13/+11
2022-02-25NFS: Convert GFP_NOFS to GFP_KERNELTrond Myklebust1-3/+3
2022-02-25NFS: Charge open/lock file contexts to kmemcgTrond Myklebust1-2/+2
2022-02-16NFS: Do not report writeback errors in nfs_getattr()Trond Myklebust1-6/+3
2022-01-10nfs: Convert to new fscache volume/cookie APIDave Wysochanski1-9/+2
2021-11-17NFS: Add a tracepoint to show the results of nfs_set_cache_invalid()Benjamin Coddington1-0/+1
2021-11-05NFS: Remove the nfs4_label argument from nfs_setsecurityAnna Schumaker1-11/+9
2021-11-05NFS: Remove the nfs4_label argument from nfs_fhget()Anna Schumaker1-2/+2
2021-11-05NFS: Remove the nfs4_label from the nfs_setattrresAnna Schumaker1-1/+1
2021-11-05NFS: Remove the nfs4_label from the nfs4_getattr_resAnna Schumaker1-15/+5
2021-11-05NFS: Create a new nfs_alloc_fattr_with_label() functionAnna Schumaker1-0/+17
2021-11-05NFS: Always initialise fattr->label in nfs_fattr_alloc()Trond Myklebust1-1/+3
2021-11-05NFSv4: Remove unnecessary 'minor version' checkTrond Myklebust1-6/+2
2021-10-20NFS: Save some space in the inodeTrond Myklebust1-8/+18
2021-10-10NFS: Instrument i_size_write()Chuck Lever1-6/+3
2021-10-03NFS: Remove unnecessary page cache invalidationsTrond Myklebust1-6/+1
2021-10-03NFS: Don't set NFS_INO_DATA_INVAL_DEFER and NFS_INO_INVALID_DATATrond Myklebust1-2/+7
2021-10-03NFS: Default change_attr_type to NFS4_CHANGE_TYPE_IS_UNDEFINEDTrond Myklebust1-1/+3
2021-10-03NFS: Fix up nfs_ctx_key_to_expire()Trond Myklebust1-2/+2
2021-06-29Merge branch 'leases-devel'Trond Myklebust1-0/+4
2021-06-29NFS: nfs_find_open_context() may only select open filesTrond Myklebust1-0/+4
2021-06-26NFS: Avoid duplicate resets of attribute cache timeoutsTrond Myklebust1-6/+1
2021-06-26NFS: Fix up inode attribute revalidation timeoutsTrond Myklebust1-34/+16
2021-05-07Merge tag 'nfs-for-5.13-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-148/+270
2021-04-27Merge branch 'work.inode-type-fixes' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-3/+3
2021-04-14NFS: Split attribute support out from the server capabilitiesTrond Myklebust1-20/+31
2021-04-14NFS: Don't store NFS_INO_REVAL_FORCEDTrond Myklebust1-41/+25
2021-04-13NFS: Another inode revalidation improvementTrond Myklebust1-1/+29
2021-04-13NFS: Use information about the change attribute to optimise updatesTrond Myklebust1-18/+93
2021-04-13NFS: Simplify cache consistency in nfs_check_inode_attributes()Trond Myklebust1-13/+5
2021-04-13NFS: Remove a line of code that has no effect in nfs_update_inode()Trond Myklebust1-1/+0
2021-04-13NFS: Fix up handling of outstanding layoutcommit in nfs_update_inode()Trond Myklebust1-1/+5
2021-04-13NFS: Separate tracking of file mode cache validity from the uid/gidTrond Myklebust1-6/+12
2021-04-13NFS: Separate tracking of file nlinks cache validity from the mode/uid/gidTrond Myklebust1-5/+10
2021-04-12NFS: Don't set NFS_INO_REVAL_PAGECACHE in the inode cache validityTrond Myklebust1-4/+2
2021-04-12NFS: Replace use of NFS_INO_REVAL_PAGECACHE when checking cache validityTrond Myklebust1-29/+12
2021-04-12NFS: Add a cache validity flag argument to nfs_revalidate_inode()Trond Myklebust1-18/+7
2021-04-12NFS: nfs_setattr_update_inode() should clear the suid/sgid bitsTrond Myklebust1-2/+8
2021-04-12NFS: Fix up statx() resultsTrond Myklebust1-3/+26
2021-04-12NFS: Don't revalidate attributes that are not being asked forTrond Myklebust1-4/+9
2021-04-12NFS: Fix up revalidation of space usedTrond Myklebust1-3/+12
2021-04-12NFS: NFS_INO_REVAL_PAGECACHE should mark the change attribute invalidTrond Myklebust1-1/+2
2021-04-12NFS: Mask out unsupported attributes in nfs_getattr()Trond Myklebust1-0/+4
2021-04-12NFS: Deal correctly with attribute generation counter overflowTrond Myklebust1-4/+4
2021-04-05NFS: Fix fscache invalidation in nfs_set_cache_invalid()Trond Myklebust1-2/+2
2021-03-08NFS: Fix open coded versions of nfs_set_cache_invalid() in NFSv4Trond Myklebust1-0/+1
2021-03-08NFS: Fix open coded versions of nfs_set_cache_invalid()Trond Myklebust1-2/+2
2021-03-08NFS: Clean up function nfs_mark_dir_for_revalidate()Trond Myklebust1-1/+1
2021-03-08new helper: inode_wrong_type()Al Viro1-3/+3
2021-02-26Merge tag 'nfs-for-5.12-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-43/+68
2021-02-09NFS: Don't set NFS_INO_INVALID_XATTR if there is no xattr cacheTrond Myklebust1-0/+14
2021-02-08NFS: Always clear an invalid mapping when attempting a buffered writeTrond Myklebust1-43/+54
2021-01-24fs: make helpers idmap mount awareChristian Brauner1-3/+4
2021-01-24stat: handle idmapped mountsChristian Brauner1-1/+1
2020-12-02NFS: switch nfsiod to be an UNBOUND workqueue.NeilBrown1-1/+1
2020-12-02NFS: Improve handling of directory verifiersTrond Myklebust1-7/+0
2020-07-17Merge branch 'xattr-devel'Trond Myklebust1-2/+14
2020-07-13NFSv4.2: add client side xattr caching.Frank van der Linden1-1/+8
2020-07-13nfs: define and use the NFS_INO_INVALID_XATTR flagFrank van der Linden1-1/+6
2020-07-12NFS: Allow applications to speed up readdir+statx() using AT_STATX_DONT_SYNCTrond Myklebust1-1/+3
2020-06-11nfs: set invalid blocks after NFSv4 writesZheng Bin1-3/+11
2020-04-06NFS: Clean up process of marking inode stale.Trond Myklebust1-5/+13
2020-03-16NFS: alloc_nfs_open_context() must use the file cred when availableTrond Myklebust1-5/+5
2020-02-12NFSv4: Fix revalidation of dentries with delegationsTrond Myklebust1-0/+1
2020-02-03NFS: nfs_find_open_context() should use cred_fscmp()Trond Myklebust1-1/+1
2020-01-15NFS: Add mount option 'softreval'Trond Myklebust1-1/+7
2019-11-03NFS: Convert struct nfs_fattr to use struct timespec64Trond Myklebust1-27/+27
2019-09-02NFS: Fix inode fileid checks in attribute revalidation codeTrond Myklebust1-8/+10
2019-08-19NFS: Don't refresh attributes with mounted-on-file informationTrond Myklebust1-14/+19
2019-07-06Merge branch 'containers'Trond Myklebust1-5/+9
2019-07-06NFS: Add deferred cache invalidation for close-to-open consistency violationsTrond Myklebust1-4/+11
2019-07-06NFS: Cleanup - add nfs_clients_exit to mirror nfs_clients_initTrond Myklebust1-5/+1
2019-07-06NFS: Create a root NFS directory in /sys/fs/nfsTrond Myklebust1-0/+8
2019-07-06NFSv4: Handle the special Linux file open access modeTrond Myklebust1-0/+1
2019-05-21treewide: Add SPDX license identifier for more missed filesThomas Gleixner1-0/+1
2019-05-09Merge tag 'nfs-for-5.2-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-4/+9
2019-05-01nfs{,4}: switch to ->free_inode()Al Viro1-8/+2
2019-04-25NFS: Ensure that all nfs lock contexts have a valid open contextTrond Myklebust1-4/+9
2019-02-20NFS: Fix up documentation warningsTrond Myklebust1-16/+17
2018-12-19NFS/NFSD/SUNRPC: replace generic creds with 'struct cred'.NeilBrown1-7/+4
2018-12-19NFS: move credential expiry tracking out of SUNRPC into NFS.NeilBrown1-0/+2
2018-09-30NFS: Convert lookups of the open context to RCUTrond Myklebust1-20/+15
2018-09-30NFS: Simplify internal check for whether file is open for writeTrond Myklebust1-9/+1
2018-09-30NFS: Convert lookups of the lock context to RCUTrond Myklebust1-13/+12
2018-06-14Merge branch 'vfs_timespec64' of https://github.com/deepa-hub/vfs into vfs-ti...Arnd Bergmann1-21/+28
2018-06-05vfs: change inode times to use struct timespec64Deepa Dinamani1-16/+23
2018-06-04NFS: Filter cache invalidation when holding a delegationTrond Myklebust1-3/+9
2018-06-04NFS: Ignore NFS_INO_REVAL_FORCED in nfs_check_inode_attributes()Trond Myklebust1-2/+3
2018-06-04NFS: Improve caching while holding a delegationTrond Myklebust1-7/+10
2018-06-04NFS: Fix attribute revalidationTrond Myklebust1-19/+15
2018-06-04NFS: fix up nfs_setattr_update_inodeTrond Myklebust1-6/+42
2018-06-04NFS: Pass the inode down to the getattr() callbackTrond Myklebust1-1/+2
2018-05-31NFS: Fix up nfs_post_op_update_inode() to force ctime updatesTrond Myklebust1-1/+2
2018-05-31NFS: Set the force revalidate flag if the inode is not completely initialisedTrond Myklebust1-0/+4
2018-05-25fs: nfs: get rid of memcpys for inode timesDeepa Dinamani1-7/+7
2018-04-12Merge tag 'nfs-for-4.17-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-62/+76
2018-04-10NFSv4: Declare the size up to date after it was set.Trond Myklebust1-0/+1
2018-04-10NFSv4: Ignore change attribute invalidations if we hold a delegationTrond Myklebust1-0/+3
2018-04-10NFS: More fine grained attribute trackingTrond Myklebust1-44/+65
2018-04-10NFS: Don't force unnecessary cache invalidation in nfs_update_inode()Trond Myklebust1-4/+3
2018-04-10NFS: Don't redirty the attribute cache in nfs_wcc_update_inode()Trond Myklebust1-10/+2
2018-04-10NFS: Don't force a revalidation of all attributes if change is missingTrond Myklebust1-1/+4
2018-04-10NFS: Move the delegation return down into _nfs4_do_setattr()Trond Myklebust1-5/+0
2018-03-20sched/wait, fs/nfs: Convert wait_on_atomic_t() usage to the new wait_var_even...Peter Zijlstra1-5/+0
2018-02-01iversion: Rename make inode_cmp_iversion{+raw} to inode_eq_iversion{+raw}Goffredo Baroncelli1-3/+3
2018-01-30Merge tag 'nfs-for-4.16-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-14/+39
2018-01-29nfs: convert to new i_version APIJeff Layton1-9/+9
2018-01-28NFS: Remove a redundant call to unmap_mapping_range()Trond Myklebust1-1/+0
2018-01-14Support statx() mask and query flags parametersTrond Myklebust1-13/+39
2017-11-27Rename superblock flags (MS_xyz -> SB_xyz)Linus Torvalds1-1/+1
2017-11-17Merge tag 'nfs-for-4.15-1' of git://git.linux-nfs.org/projects/anna/linux-nfsLinus Torvalds1-6/+10
2017-11-17nfs client: exit_net cleanup check addedVasily Averin1-0/+4
2017-11-17fs, nfs: convert nfs_lock_context.count from atomic_t to refcount_tElena Reshetova1-6/+6
2017-11-13Pass mode to wait_on_atomic_t() action funcs and provide default actionsDavid Howells1-2/+2
2017-08-15NFS: Use an atomic_long_t to count the number of commitsTrond Myklebust1-1/+1
2017-08-15NFS: Use an atomic_long_t to count the number of requestsTrond Myklebust1-4/+3
2017-08-15NFSv4: Use a mutex to protect the per-inode commit listsTrond Myklebust1-0/+1
2017-07-13nfs: add a nfs_ilookup helperPeng Tao1-0/+22
2017-07-13NFS: check for nfs_refresh_inode() errors in nfs_fhget()NeilBrown1-2/+8
2017-07-13NFS: only invalidate dentrys that are clearly invalid.NeilBrown1-2/+2
2017-05-05NFS: always treat the invocation of nfs_getattr as cache hit when noac is onHou Tao1-1/+4
2017-03-03Merge branch 'rebased-statx' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-6/+7
2017-03-02statx: Add a system call to make enhanced file info availableDavid Howells1-6/+7
2017-03-02sched/headers: Prepare to move signal wakeup & sigpending methods from <linux...Ingo Molnar1-1/+1
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-21Merge tag 'nfs-for-4.10-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-34/+41
2016-12-19NFS: Don't abuse NFS_INO_REVAL_FORCED in nfs_post_op_update_inode_locked()Trond Myklebust1-7/+0
2016-12-19NFS: Clean up nfs_attribute_timeout()Trond Myklebust1-7/+7
2016-12-19NFS: Remove unused function nfs_revalidate_inode_rcu()Trond Myklebust1-9/+0
2016-12-19NFS: Clean up cache validity checkingTrond Myklebust1-11/+32
2016-12-19NFS: Don't revalidate the file on close if we hold a delegationTrond Myklebust1-0/+2
2016-12-15Merge tag 'nfs-for-4.10-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-16/+35
2016-12-04NFS: Only look at the change attribute cache state in nfs_check_verifierTrond Myklebust1-1/+1
2016-12-04NFS: Fix incorrect mapping revalidation when holding a delegationTrond Myklebust1-3/+9
2016-12-02NFS: Allow getattr to also report readdirplus cache hitsTrond Myklebust1-4/+17
2016-12-01NFS: discard nfs_lockowner structure.NeilBrown1-2/+2
2016-12-01NFSv4: add flock_owner to open contextNeilBrown1-2/+5
2016-12-01NFS: remove l_pid field from nfs_lockownerNeilBrown1-3/+0
2016-12-01NFSv4: Optimise away forced revalidation when we know the attributes are OKTrond Myklebust1-1/+1
2016-11-18netns: make struct pernet_operations::id unsigned intAlexey Dobriyan1-1/+1
2016-07-28pNFS: Actively set attributes as invalid if LAYOUTCOMMIT is outstandingBenjamin Coddington1-3/+5
2016-07-24Merge branch 'writeback'Trond Myklebust1-71/+67
2016-07-18pNFS: Don't mark the inode as revalidated if a LAYOUTCOMMIT is outstandingTrond Myklebust1-1/+4
2016-07-05NFS: Getattr doesn't require data sync semanticsTrond Myklebust1-3/+1
2016-07-05NFS: Do not aggressively cache file attributes in the case of O_DIRECTTrond Myklebust1-2/+7
2016-07-05NFS: Remove unused function nfs_revalidate_mapping_protected()Trond Myklebust1-34/+4
2016-07-05pNFS: Ensure we layoutcommit before revalidating attributesTrond Myklebust1-16/+7
2016-06-24NFS: Fix potential race in nfs_fhget()Trond Myklebust1-0/+1
2016-06-22NFS: Cache aggressively when file is open for writingTrond Myklebust1-18/+44
2016-06-13NFS: Don't flush caches for a getattr that races with writebackTrond Myklebust1-6/+9
2016-05-09nfs: per-name sillyunlink exclusionAl Viro1-3/+1
2016-04-07Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2016-03-26nfs: use file_dentry()Miklos Szeredi1-1/+1
2016-03-16nfs: remove nfs_inode_dio_waitChristoph Hellwig1-1/+1
2016-01-22wrappers for ->i_mutex accessAl Viro1-4/+4
2016-01-15Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+1
2016-01-14Merge tag 'nfs-for-4.5-1' of git://git.linux-nfs.org/projects/trondmy/linux-nfsLinus Torvalds1-21/+57
2016-01-14kmemcg: account certain kmem allocations to memcgVladimir Davydov1-1/+1
2016-01-11Merge branch 'work.symlinks' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-2/+24
2016-01-07Merge branch 'bugfixes'Trond Myklebust1-15/+39
2016-01-07NFS: Use wait_on_atomic_t() for unlock after readaheadBenjamin Coddington1-6/+12
2015-12-30NFS: Fix attribute cache revalidationTrond Myklebust1-15/+39
2015-12-28nfs: handle request add failure properlyPeng Tao1-0/+6
2015-12-13sched/wait: Fix the signal handling fixPeter Zijlstra1-3/+3
2015-12-08teach nfs_get_link() to work in RCU modeAl Viro1-0/+21
2015-12-08don't put symlink bodies in pagecache into highmemAl Viro1-2/+3
2015-11-25nfs: if we have no valid attrs, then don't declare the attribute cache validJeff Layton1-1/+5
2015-11-25nfs: ensure that attrcache is revalidated after a SETATTRJeff Layton1-1/+4