aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/inode.c
AgeCommit message (Expand)AuthorFilesLines
47 hoursMerge tag 'printk-for-6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-33/+16
2025-11-19ceph: Switch to use %ptSpAndy Shevchenko1-33/+16
2025-10-20ceph: use the new ->i_state accessorsMateusz Guzik1-14/+14
2025-10-10Merge tag 'ceph-for-6.18-rc1' of https://github.com/ceph/ceph-clientLinus Torvalds1-0/+11
2025-10-08ceph: fix potential NULL dereference issue in ceph_fill_trace()Viacheslav Dubeyko1-0/+11
2025-09-29Merge tag 'vfs-6.18-rc1.inode' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-0/+1
2025-09-09ceph: fix race condition where r_parent becomes stale before sending messageAlex Markuze1-12/+69
2025-09-09ceph: fix race condition validating r_parent before applying stateAlex Markuze1-4/+3
2025-08-21ceph: move crypt info pointer to fs-specific part of inodeEric Biggers1-0/+1
2025-07-10ceph: Remove gfp_t argument from ceph_fscrypt_encrypt_*()Eric Biggers1-2/+1
2025-04-25Merge tag 'ceph-for-6.15-rc4' of https://github.com/ceph/ceph-clientLinus Torvalds1-1/+1
2025-04-03ceph: Fix incorrect flush end position calculationDavid Howells1-1/+1
2025-03-05ceph: Fix error handling in fill_readdir_cache()Matthew Wilcox (Oracle)1-2/+5
2025-02-28ceph: Convert ceph_readdir_cache_control to store a folioMatthew Wilcox (Oracle)1-12/+14
2024-11-18ceph: miscellaneous spelling fixesDmitry Antipov1-1/+1
2024-09-28Merge tag 'ceph-for-6.12-rc1' of https://github.com/ceph/ceph-clientLinus Torvalds1-1/+1
2024-09-24ceph: Fix typo in the commentYan Zhen1-1/+1
2024-08-21netfs, ceph: Partially revert "netfs: Replace PG_fscache by setting folio->pr...David Howells1-0/+1
2024-08-12netfs: Fix handling of USE_PGPRIV2 and WRITE_TO_CACHE flagsDavid Howells1-2/+0
2024-07-03ceph: drop usage of page_indexKairui Song1-1/+1
2024-05-25Merge tag 'ceph-for-6.10-rc1' of https://github.com/ceph/ceph-clientLinus Torvalds1-9/+37
2024-05-23ceph: check the cephx mds auth access for setattrXiubo Li1-9/+37
2024-04-29netfs: Replace PG_fscache by setting folio->private and marking dirtyDavid Howells1-0/+2
2024-02-07ceph: always set initial i_blkbits to CEPH_FSCRYPT_BLOCK_SHIFTXiubo Li1-0/+2
2023-12-28netfs: Optimise away reads above the point at which there can be no dataDavid Howells1-1/+1
2023-12-24netfs: Move pinning-for-writeback from fscache to netfsDavid Howells1-1/+1
2023-11-10Merge tag 'ceph-for-6.7-rc1' of https://github.com/ceph/ceph-clientLinus Torvalds1-229/+282
2023-11-03ceph: allow idmapped setattr inode opChristian Brauner1-8/+12
2023-11-03ceph: pass idmap to __ceph_setattrAlexander Mikhalitsyn1-3/+3
2023-11-03ceph: allow idmapped permission inode opChristian Brauner1-1/+1
2023-11-03ceph: allow idmapped getattr inode opChristian Brauner1-1/+1
2023-11-03ceph: print cluster fsid and client global_id in all debug logsXiubo Li1-218/+267
2023-11-03ceph: rename _to_client() to _to_fs_client()Xiubo Li1-7/+7
2023-10-30Merge tag 'vfs-6.7.ctime' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs...Linus Torvalds1-29/+35
2023-10-18ceph: convert to new timestamp accessorsJeff Layton1-29/+35
2023-10-09ceph: fix incorrect revoked caps assert in ceph_fill_file_size()Xiubo Li1-3/+1
2023-09-06Merge tag 'ceph-for-6.6-rc1' of https://github.com/ceph/ceph-clientLinus Torvalds1-54/+571
2023-08-24ceph: fix updating i_truncate_pagecache_size for fscryptXiubo Li1-11/+24
2023-08-24ceph: add support for encrypted snapshot namesLuís Henriques1-4/+29
2023-08-24ceph: add truncate size handling support for fscryptXiubo Li1-7/+193
2023-08-24ceph: size handling in MClientRequest, cap updates and inode tracesJeff Layton1-3/+30
2023-08-24ceph: allow encrypting a directory while not having Ax capsLuís Henriques1-1/+2
2023-08-24ceph: add some fscrypt guardrailsJeff Layton1-8/+18
2023-08-24ceph: create symlinks with encrypted and base64-encoded targetsJeff Layton1-12/+101
2023-08-24ceph: add support to readdir for encrypted namesXiubo Li1-4/+8
2023-08-24ceph: make ceph_fill_trace and ceph_get_name decrypt namesJeff Layton1-2/+28
2023-08-22ceph: implement -o test_dummy_encryption mount optionJeff Layton1-2/+8
2023-08-22ceph: fscrypt_auth handling for cephJeff Layton1-2/+62
2023-08-22ceph: preallocate inode for ops that may create oneJeff Layton1-7/+77
2023-08-09fs: pass the request_mask to generic_fillattrJeff Layton1-1/+1
2023-07-13ceph: convert to ctime accessor functionsJeff Layton1-7/+9
2023-02-20Merge tag 'fs.idmapped.v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-7/+7
2023-01-26ceph: report the inode version in getattr if requestedJeff Layton1-5/+11
2023-01-19fs: port ->permission() to pass mnt_idmapChristian Brauner1-2/+2
2023-01-19fs: port ->set_acl() to pass mnt_idmapChristian Brauner1-1/+1
2023-01-19fs: port ->getattr() to pass mnt_idmapChristian Brauner1-2/+2
2023-01-19fs: port ->setattr() to pass mnt_idmapChristian Brauner1-2/+2
2022-12-14Merge tag 'ceph-for-6.2-rc1' of https://github.com/ceph/ceph-clientLinus Torvalds1-3/+3
2022-12-12Merge tag 'fs.acl.rework.v6.2' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+2
2022-12-12Merge tag 'random-6.2-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+1
2022-12-12ceph: remove useless session parameter for check_caps()Xiubo Li1-3/+3
2022-11-18treewide: use get_random_u32_below() instead of deprecated functionJason A. Donenfeld1-1/+1
2022-11-14ceph: fix a NULL vs IS_ERR() check when calling ceph_lookup_inode()Dan Carpenter1-1/+1
2022-10-20fs: rename current get acl methodChristian Brauner1-1/+1
2022-10-19fs: pass dentry to set acl methodChristian Brauner1-1/+1
2022-10-16Merge tag 'random-6.1-rc1-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-1/+1
2022-10-11treewide: use prandom_u32_max() when possible, part 1Jason A. Donenfeld1-1/+1
2022-10-04ceph: fix incorrectly showing the .snap size for statXiubo Li1-4/+23
2022-10-04ceph: increment i_version when doing a setattr with capsJeff Layton1-0/+1
2022-10-04ceph: fail the request if the peer MDS doesn't support getvxattr opXiubo Li1-0/+1
2022-08-03ceph: don't get the inline data for new creating filesXiubo Li1-2/+3
2022-08-03ceph: choose auth MDS for getxattr with the Xs capsXiubo Li1-1/+7
2022-06-10netfs: Further cleanups after struct netfs_inode wrapper introducedLinus Torvalds1-1/+1
2022-06-09netfs: Fix gcc-12 warning by embedding vfs inode in netfs_i_contextDavid Howells1-8/+5
2022-06-09netfs: gcc-12: temporarily disable '-Wattribute-warning' for nowLinus Torvalds1-0/+3
2022-05-25ceph: fix statfs for subdir mountsLuís Henriques1-1/+1
2022-05-25ceph: try to choose the auth MDS if possible for getattrXiubo Li1-1/+25
2022-05-25ceph: fix statx AT_STATX_DONT_SYNC vs AT_STATX_FORCE_SYNC checkXiubo Li1-1/+1
2022-05-25ceph: no need to invalidate the fscache twiceXiubo Li1-1/+0
2022-05-25ceph: update the dlease for the hashed dentry when removingXiubo Li1-1/+3
2022-03-31Merge tag 'netfs-prep-20220318' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-3/+3
2022-03-24Merge tag 'ceph-for-5.18-rc1' of https://github.com/ceph/ceph-clientLinus Torvalds1-4/+61
2022-03-22fs: allocate inode by using alloc_inode_sb()Muchun Song1-1/+1
2022-03-21ceph: fix inode reference leakage in ceph_get_snapdir()Xiubo Li1-2/+8
2022-03-18netfs: Add a netfs inode contextDavid Howells1-3/+3
2022-03-01ceph: add getvxattr opMilind Changire1-0/+51
2022-03-01ceph: fix comments mentioning i_mutexhongnanli1-2/+2
2022-01-11ceph: conversion to new fscache APIJeff Layton1-6/+16
2021-11-08ceph: ignore the truncate when size won't change with Fx caps issuedXiubo Li1-6/+8
2021-11-08ceph: shut down access to inode when async create failsJeff Layton1-2/+31
2021-11-08ceph: print inode numbers instead of pointer valuesJeff Layton1-3/+4
2021-10-19ceph: fix handling of "meta" errorsJeff Layton1-2/+0
2021-09-02ceph: add ceph_change_snap_realm() helperJeff Layton1-9/+2
2021-06-29ceph: eliminate ceph_async_iput()Jeff Layton1-25/+3
2021-06-29ceph: eliminate session->s_gen_ttl_lockJeff Layton1-2/+2
2021-06-29ceph: allow ceph_put_mds_session to take NULL or ERR_PTRJeff Layton1-4/+2
2021-06-22ceph: must hold snap_rwsem when filling inode for async createJeff Layton1-0/+2
2021-05-06Merge tag 'ceph-for-5.13-rc1' of git://github.com/ceph/ceph-clientLinus Torvalds1-15/+21
2021-04-27ceph: don't allow access to MDS-private inodesJeff Layton1-0/+3
2021-04-27ceph: fix up some bare fetches of i_sizeJeff Layton1-11/+11
2021-04-27ceph: support getting ceph.dir.rsnaps vxattrYanhu Cao1-0/+1
2021-04-27ceph: don't clobber i_snap_caps on non-I_NEW inodeJeff Layton1-4/+5
2021-04-27ceph: fix fscache invalidationJeff Layton1-0/+1
2021-03-08ceph: don't allow type or device number to change on non-I_NEW inodesJeff Layton1-4/+23
2021-03-08ceph: fix up error handling with snapdirsJeff Layton1-1/+13
2021-02-23Merge tag 'idmapped-mounts-v5.12' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-8/+10
2021-02-16ceph: allow queueing cap/snap handling after putting cap referencesJeff Layton1-0/+6
2021-02-16ceph: clean up inode work queueingJeff Layton1-49/+6
2021-01-24fs: make helpers idmap mount awareChristian Brauner1-4/+6
2021-01-24stat: handle idmapped mountsChristian Brauner1-1/+1
2021-01-24acl: handle idmapped mountsChristian Brauner1-1/+1
2021-01-24attr: handle idmapped mountsChristian Brauner1-1/+1
2021-01-24namei: make permission helpers idmapped mount awareChristian Brauner1-1/+1
2020-12-14ceph: don't reach into request header for readdir infoJeff Layton1-3/+2
2020-12-14ceph: when filling trace, call ceph_get_inode outside of mutexesJeff Layton1-9/+4
2020-12-14ceph: fix inode refcount leak when ceph_fill_inode on non-I_NEW inode failsJeff Layton1-0/+2
2020-12-14ceph: ensure we have Fs caps when fetching dir link countJeff Layton1-5/+14
2020-12-14ceph: add new RECOVER mount_state when recovering sessionJeff Layton1-1/+1
2020-10-12ceph: metrics for opened files, pinned caps and opened inodesXiubo Li1-1/+6
2020-10-12ceph: add ceph_sb_to_mdsc helper support to parse the mdscXiubo Li1-3/+2
2020-08-24ceph: fix inode number handling on arches with 32-bit ino_tJeff Layton1-10/+9
2020-06-01ceph: add caps perf metric for each superblockXiubo Li1-2/+2
2020-03-30ceph: fix snapshot directory timestampsLuis Henriques1-0/+4
2020-03-30ceph: check all mds' caps after page writebackYan, Zheng1-1/+1
2020-03-30ceph: simplify calling of ceph_get_fmode()Yan, Zheng1-7/+1
2020-03-30ceph: remove delay check logic from ceph_check_caps()Yan, Zheng1-1/+0
2020-03-30ceph: consider inode's last read/write when calculating wanted capsYan, Zheng1-1/+9
2020-03-30ceph: cache layout in parent dir on first sync createJeff Layton1-0/+2
2020-03-30ceph: make ceph_fill_inode non-staticJeff Layton1-23/+24
2020-03-30ceph: track primary dentry linkJeff Layton1-1/+7
2020-03-30ceph: add flag to designate that a request is asynchronousJeff Layton1-0/+1
2020-03-30ceph: add refcounting for Fx capsJeff Layton1-0/+1
2020-01-27ceph: don't clear I_NEW until inode metadata is fully populatedJeff Layton1-4/+23
2020-01-27ceph: ensure we have a new cap before continuing in fill_inodeJeff Layton1-1/+4
2020-01-27ceph: drop unused ttl_from parameter from fill_inodeJeff Layton1-9/+6
2019-10-29ceph: add missing check in d_revalidate snapdir handlingAl Viro1-0/+1
2019-09-16ceph: update the mtime when truncating upJeff Layton1-20/+21
2019-09-16ceph: track and report error of async metadata operationYan, Zheng1-0/+2
2019-09-16ceph: fix directories inode i_blkbits initializationLuis Henriques1-1/+6
2019-08-22ceph: fix buffer free while holding i_ceph_lock in fill_inode()Luis Henriques1-3/+4
2019-07-08ceph: use generic_delete_inode() for ->drop_inodeLuis Henriques1-10/+0
2019-07-08ceph: use ceph_evict_inode to cleanup inode's resourceYan, Zheng1-2/+5
2019-07-08ceph: add change_attr field to ceph_inode_infoJeff Layton1-0/+5
2019-07-08ceph: allow querying of STATX_BTIME in ceph_getattrJeff Layton1-3/+13
2019-07-08ceph: add btime field to ceph_inode_infoJeff Layton1-0/+2
2019-07-08ceph: add selinux supportYan, Zheng1-0/+1
2019-07-08ceph: hold i_ceph_lock when removing caps for freeing inodeYan, Zheng1-1/+1
2019-07-08ceph: close race between d_name_cmp() and update_dentry_lease()Yan, Zheng1-76/+88
2019-07-08ceph: carry snapshot creation time with inodesDavid Disseldorp1-0/+1
2019-06-05ceph: avoid iput_final() while holding mutex or in dispatch threadYan, Zheng1-4/+27
2019-06-05ceph: single workqueue for inode related worksYan, Zheng1-68/+56
2019-05-16Merge tag 'ceph-for-5.2-rc1' of git://github.com/ceph/ceph-clientLinus Torvalds1-28/+57
2019-05-07Merge branch 'work.icache' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-4/+1
2019-05-07ceph: properly handle granular statx requestsJeff Layton1-28/+57
2019-05-01ceph: use ->free_inode()Al Viro1-4/+1
2019-04-23ceph: handle the case where a dentry has been renamed on outstanding reqJeff Layton1-1/+15
2019-03-27ceph: fix use-after-free on symlink traversalAl Viro1-1/+1
2019-03-05ceph: periodically trim stale dentriesYan, Zheng1-4/+5
2019-03-05ceph: delete stale dentry when last reference is droppedYan, Zheng1-1/+1
2019-03-05ceph: send cap releases more aggressivelyYan, Zheng1-1/+1
2019-03-05ceph: support getting ceph.dir.pin vxattrYan, Zheng1-0/+1
2019-03-05ceph: map snapid to anonymous bdev IDYan, Zheng1-14/+23
2019-03-05ceph: set special inode's blocksize to page sizeYan, Zheng1-0/+1
2018-12-26ceph: cleanup splice_dentry()Yan, Zheng1-36/+24
2018-10-22ceph: check if LOOKUPNAME request was aborted when filling traceYan, Zheng1-1/+3
2018-10-22ceph: fix dentry leak in ceph_readdir_prepopulateYan, Zheng1-1/+0
2018-10-22Revert "ceph: fix dentry leak in splice_dentry()"Yan, Zheng1-2/+6
2018-08-13ceph: add additional size check in ceph_setattr()Chengguang Xu1-0/+5
2018-08-02ceph: use timespec64 for r_stampArnd Bergmann1-1/+1
2018-08-02ceph: use timespec64 for inode timestampArnd Bergmann1-40/+36
2018-06-26ceph: fix dentry leak in splice_dentry()Yan, Zheng1-0/+1
2018-06-15Merge tag 'vfs-timespec64' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-41/+45
2018-06-05vfs: change inode times to use struct timespec64Deepa Dinamani1-20/+24
2018-06-04ceph: prevent i_version from going backYan, Zheng1-1/+2
2018-06-04ceph: fix st_nlink stat for directoriesLuis Henriques1-0/+8
2018-06-04ceph: update i_files/i_subdirs only when Fs cap is issuedYan, Zheng1-17/+18
2018-06-04ceph: always get rstat from auth mdsYan, Zheng1-6/+15
2018-05-25ceph: make inode time prints to be long longDeepa Dinamani1-21/+21
2018-04-16ceph: always update atime/mtime/ctime for new inodeYan, Zheng1-3/+7
2018-04-02ceph: quota: add counter for snaprealms with quotaLuis Henriques1-2/+4
2018-04-02ceph: quota: cache inode pointer in ceph_snap_realmLuis Henriques1-0/+3
2018-04-02ceph: quota: support for ceph.quota.max_bytesLuis Henriques1-0/+4
2018-04-02ceph: quota: add initial infrastructure to support cephfs quotasLuis Henriques1-0/+6
2018-04-02ceph: invalidate pages that beyond EOF in ceph_writepages_start()Yan, Zheng1-11/+0
2018-01-29ceph: avoid dereferencing invalid pointer during cached readdirYan, Zheng1-6/+34
2018-01-29ceph: use atomic_t for ceph_inode_info::i_shared_genYan, Zheng1-2/+2
2018-01-29ceph: properly drop caps for setattr requestYan, Zheng1-6/+6
2017-11-13ceph: remove the bump of i_versionJeff Layton1-1/+0
2017-11-13ceph: disable cached readdir after dropping positive dentryYan, Zheng1-1/+6
2017-11-13ceph: keep auth cap when inode has flocks or posix locksYan, Zheng1-0/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-09-06ceph: handle race between vmtruncate and queuing cap snapYan, Zheng1-1/+12
2017-09-06ceph: adjust 36 checks for NULL pointersMarkus Elfring1-3/+3
2017-09-06ceph: delete an unnecessary return statement in update_dentry_lease()Markus Elfring1-1/+0
2017-09-06ceph: ENOMEM pr_err in __get_or_create_frag() is redundantMarkus Elfring1-5/+2
2017-09-06ceph: don't fill readdir cache for LSSNAP replyYan, Zheng1-8/+11
2017-09-06ceph: cleanup ceph_readdir_prepopulate()Yan, Zheng1-7/+0
2017-07-07ceph: update ceph_dentry_info::lease_session when necessaryYan, Zheng1-2/+7
2017-07-07ceph: update the 'approaching max_size' codeYan, Zheng1-6/+3
2017-06-14ceph: unify inode i_ctime updateYan, Zheng1-3/+2