aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/dir.c
AgeCommit message (Expand)AuthorFilesLines
2026-04-22ceph: only d_add() negative dentries when they are unhashedMax Kellermann1-2/+4
2026-03-09ceph: add a bunch of missing ceph_path_info initializersMax Kellermann1-1/+1
2026-03-09ceph: fix i_nlink underrun during async unlinkMax Kellermann1-1/+14
2026-01-12fs: remove simple_nosetlease()Jeff Layton1-2/+0
2026-01-12ceph: don't allow delegations to be set on directoriesJeff Layton1-0/+2
2025-12-06Merge tag 'mm-nonmm-stable-2025-12-06-11-14' of git://git.kernel.org/pub/scm/...Linus Torvalds1-2/+3
2025-12-03Merge tag 'printk-for-6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-3/+2
2025-11-20ceph: replace local base64 helpers with lib/base64Guan-Chun Wu1-2/+3
2025-11-19ceph: Switch to use %ptSpAndy Shevchenko1-3/+2
2025-10-08ceph: refactor wake_up_bit() pattern of callingViacheslav Dubeyko1-2/+1
2025-09-09ceph: fix race condition validating r_parent before applying stateAlex Markuze1-10/+7
2025-06-17ceph: fix a race with rename() in ceph_mdsc_build_path()Al Viro1-4/+3
2025-03-24Merge tag 'vfs-6.15-rc1.ceph' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-7/+8
2025-02-28ceph: Convert ceph_readdir_cache_control to store a folioMatthew Wilcox (Oracle)1-7/+8
2025-02-27ceph: return the correct dentry on mkdirNeilBrown1-8/+16
2025-02-27Change inode_operations.mkdir to return struct dentry *NeilBrown1-4/+4
2025-01-27ceph_d_revalidate(): propagate stable name down into request encodingAl Viro1-0/+2
2025-01-27ceph_d_revalidate(): use stable parent inode passed by callerAl Viro1-18/+4
2025-01-27Pass parent directory inode and expected name to ->d_revalidate()Al Viro1-2/+3
2024-11-18ceph: miscellaneous spelling fixesDmitry Antipov1-2/+2
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-09-09ceph: remove unused f_versionChristian Brauner1-1/+0
2024-07-26Merge tag 'ceph-for-6.11-rc1' of https://github.com/ceph/ceph-clientLinus Torvalds1-1/+1
2024-07-23ceph: convert comma to semicolon in __ceph_dentry_dir_lease_touch()Chen Ni1-1/+1
2024-07-03ceph: drop usage of page_indexKairui Song1-1/+1
2024-05-23ceph: check the cephx mds auth access for async diropXiubo Li1-0/+28
2024-01-19Merge tag 'ceph-for-6.8-rc1' of https://github.com/ceph/ceph-clientLinus Torvalds1-8/+13
2024-01-15ceph: get rid of passing callbacks in __dentry_leases_walk()Al Viro1-8/+13
2023-11-25dentry: switch the lists of children to hlistAl Viro1-1/+1
2023-11-03ceph: pass an idmapping to mknod/symlink/mkdirChristian Brauner1-0/+4
2023-11-03ceph: print cluster fsid and client global_id in all debug logsXiubo Li1-86/+132
2023-11-03ceph: rename _to_client() to _to_fs_client()Xiubo Li1-11/+11
2023-11-03ceph: pass the mdsc to several helpersXiubo Li1-1/+1
2023-08-24ceph: switch ceph_lookup/atomic_open() to use new fscrypt helperLuís Henriques1-6/+7
2023-08-24ceph: prevent snapshot creation in encrypted locked directoriesLuís Henriques1-0/+5
2023-08-24ceph: size handling in MClientRequest, cap updates and inode tracesJeff Layton1-0/+3
2023-08-24ceph: mark directory as non-complete after loading keyLuís Henriques1-4/+4
2023-08-24ceph: add some fscrypt guardrailsJeff Layton1-0/+9
2023-08-24ceph: create symlinks with encrypted and base64-encoded targetsJeff Layton1-5/+49
2023-08-24ceph: add support to readdir for encrypted namesXiubo Li1-6/+30
2023-08-24ceph: make d_revalidate call fscrypt revalidator for encrypted dentriesJeff Layton1-2/+7
2023-08-24ceph: set DCACHE_NOKEY_NAME flag in ceph_lookup/atomic_open()Jeff Layton1-0/+11
2023-08-22ceph: preallocate inode for ops that may create oneJeff Layton1-32/+38
2023-08-06vfs: get rid of old '->iterate' directory operationLinus Torvalds1-2/+3
2023-06-30ceph: voluntarily drop Xx caps for requests those touch parent mtimeXiubo Li1-7/+10
2023-04-30ceph: pass ino# instead of old_dentry if it's disconnectedXiubo Li1-2/+11
2023-01-19fs: port ->rename() to pass mnt_idmapChristian Brauner1-1/+1
2023-01-19fs: port ->mknod() to pass mnt_idmapChristian Brauner1-3/+2
2023-01-19fs: port ->mkdir() to pass mnt_idmapChristian Brauner1-1/+1
2023-01-19fs: port ->symlink() to pass mnt_idmapChristian Brauner1-1/+1
2023-01-19fs: port ->create() to pass mnt_idmapChristian Brauner1-1/+2
2022-10-20fs: rename current get acl methodChristian Brauner1-1/+1
2022-08-03ceph: wait for the first reply of inflight async unlinkXiubo Li1-9/+70
2022-03-21ceph: fix memory leak in ceph_readdir when note_last_dentry returns errorXiubo Li1-1/+10
2022-03-01ceph: fix comments mentioning i_mutexhongnanli1-3/+3
2021-06-29ceph: take reference to req->r_parent at point of assignmentJeff Layton1-0/+9
2021-06-29ceph: eliminate session->s_gen_ttl_lockJeff Layton1-3/+1
2021-06-29ceph: allow ceph_put_mds_session to take NULL or ERR_PTRJeff Layton1-2/+1
2021-06-22ceph: fix error handling in ceph_atomic_open and ceph_lookupJeff Layton1-10/+12
2021-04-27ceph: don't use d_add in ceph_handle_snapdirJeff Layton1-11/+19
2021-04-27ceph: fix fall-through warnings for ClangGustavo A. R. Silva1-0/+2
2021-01-24fs: make helpers idmap mount awareChristian Brauner1-11/+12
2020-12-14Revert "ceph: allow rename operation under different quota realms"Luis Henriques1-5/+4
2020-10-12ceph: add ceph_sb_to_mdsc helper support to parse the mdscXiubo Li1-13/+7
2020-08-28Merge tag 'ceph-for-5.9-rc3' of git://github.com/ceph/ceph-clientLinus Torvalds1-18/+13
2020-08-24ceph: fix inode number handling on arches with 32-bit ino_tJeff Layton1-18/+13
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-08-04ceph: set sec_context xattr on symlink creationJeff Layton1-0/+4
2020-06-01ceph: allow rename operation under different quota realmsLuis Henriques1-4/+5
2020-06-01ceph: add caps perf metric for each superblockXiubo Li1-2/+3
2020-06-01ceph: add dentry lease metric supportXiubo Li1-0/+12
2020-04-13ceph: fix potential bad pointer deref in async dirops cb'sJeff Layton1-2/+2
2020-03-30ceph: consider inode's last read/write when calculating wanted capsYan, Zheng1-6/+15
2020-03-30ceph: perform asynchronous unlink if we have sufficient capsJeff Layton1-4/+104
2020-03-30ceph: add infrastructure for waiting for async create to completeJeff Layton1-1/+1
2020-03-30ceph: track primary dentry linkJeff Layton1-0/+1
2020-01-27ceph: print dentry offset in hex and fix xattr_version typeXiubo Li1-2/+2
2019-12-01Merge tag 'compat-ioctl-5.5' of git://git.kernel.org:/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+1
2019-10-29ceph: fix RCU case handling in ceph_d_revalidate()Al Viro1-7/+8
2019-10-23ceph: fix compat_ioctl for ceph_dir_operationsArnd Bergmann1-0/+1
2019-07-20Merge branch 'work.dcache2' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
2019-07-08ceph: add selinux supportYan, Zheng1-0/+12
2019-07-08ceph: rename struct ceph_acls_info to ceph_acl_sec_ctxYan, Zheng1-14/+14
2019-07-08ceph: ensure d_name/d_parent stability in ceph_mdsc_lease_send_msg()Yan, Zheng1-4/+3
2019-07-08ceph: fix dir_lease_is_valid()Yan, Zheng1-9/+17
2019-07-04ceph: don't open-code the check for dead lockrefAl Viro1-1/+1
2019-04-23ceph: ensure d_name stability in ceph_dentry_hash()Jeff Layton1-1/+5
2019-03-05ceph: add mount option to limit caps countYan, Zheng1-1/+19
2019-03-05ceph: periodically trim stale dentriesYan, Zheng1-50/+257
2019-03-05ceph: delete stale dentry when last reference is droppedYan, Zheng1-29/+101
2018-08-02ceph: use timespec64 for inode timestampArnd Bergmann1-3/+3
2018-08-02ceph: add d_drop for some error cases in ceph_symlink()Chengguang Xu1-2/+4
2018-08-02ceph: add d_drop for some error cases in ceph_mknod()Chengguang Xu1-3/+5
2018-06-04ceph: support file lock on directoryYan, Zheng1-0/+2
2018-04-10Merge tag 'ceph-for-4.17-rc1' of git://github.com/ceph/ceph-clientLinus Torvalds1-92/+112
2018-04-06Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+0
2018-04-02ceph: don't check quota for snap inodeYan, Zheng1-1/+2
2018-04-02ceph: quota: don't allow cross-quota renamesLuis Henriques1-0/+5
2018-04-02ceph: quota: support for ceph.quota.max_filesLuis Henriques1-0/+11
2018-04-02ceph: optimize memory usageChengguang Xu1-91/+94
2018-04-02ceph: change variable name to follow common ruleChengguang Xu1-9/+9
2018-04-02ceph: add newline to end of debug message formatChengguang Xu1-1/+1
2018-02-26ceph: flush dirty caps of unlinked inode ASAPZhi Zhang1-23/+5
2018-02-22get rid of pointless includes of fs_struct.hAl Viro1-1/+0
2018-01-29ceph: avoid dereferencing invalid pointer during cached readdirYan, Zheng1-13/+32
2018-01-29ceph: use atomic_t for ceph_inode_info::i_shared_genYan, Zheng1-7/+7
2018-01-29ceph: cleanup traceless reply handling for renameYan, Zheng1-9/+0
2018-01-29ceph: voluntarily drop Fx cap for readdir requestYan, Zheng1-0/+1
2018-01-29ceph: voluntarily drop Lx cap for link/rename requestsYan, Zheng1-2/+2
2018-01-29ceph: voluntarily drop Ax cap for requests that create new inodeYan, Zheng1-3/+3
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-09-06ceph: send LSSNAP request to auth mds of directory inodeYan, Zheng1-2/+4
2017-07-17ceph: fix race in concurrent readdirYan, Zheng1-0/+5
2017-05-04ceph: choose readdir frag based on previous readdir replyYan, Zheng1-7/+12
2017-05-04ceph: make seeky readdir more efficientYan, Zheng1-0/+4
2017-02-20ceph: do a LOOKUP in d_revalidate instead of GETATTRJeff Layton1-2/+3
2017-02-20ceph: add a new flag to indicate whether parent is lockedJeff Layton1-7/+14
2017-02-20ceph: convert bools in ceph_mds_request to a new r_req_flags fieldJeff Layton1-2/+2
2017-02-20ceph: cleanup ACCESS_ONCE -> READ_ONCESeraphime Kirkovski1-1/+1
2017-01-18ceph: fix endianness of getattr mask in ceph_d_revalidateJeff Layton1-2/+3
2016-12-16Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-46/+5
2016-12-08ceph: don't set req->r_locked_dir in ceph_d_revalidateJeff Layton1-10/+14
2016-10-28ceph: switch to use of ->d_init()Al Viro1-19/+2
2016-10-28ceph: unify dentry_operations instancesAl Viro1-27/+3
2016-10-10Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+5
2016-10-07vfs: Remove {get,set,remove}xattr inode operationsAndreas Gruenbacher1-3/+0
2016-09-27fs: rename "rename2" i_op to "rename"Miklos Szeredi1-2/+2
2016-09-27fs: make remaining filesystems use .rename2Miklos Szeredi1-3/+7
2016-09-05ceph: do not modify fi->frag in need_reset_readdir()Nicolas Iooss1-1/+1
2016-07-28ceph: handle LOOKUP_RCU in ceph_d_revalidateJeff Layton1-6/+14
2016-07-28ceph: allow dentry_lease_is_valid to work under RCU walkJeff Layton1-15/+26
2016-07-28ceph: clear d_fsinfo pointer under d_lockJeff Layton1-1/+5
2016-07-28ceph: don't use ->d_timeMiklos Szeredi1-3/+3
2016-05-26Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sag...Linus Torvalds1-127/+247
2016-05-26ceph: make logical calculation functions return boolZhang Zhuoyu1-1/+1
2016-05-26ceph: using hash value to compose dentry offsetYan, Zheng1-35/+105
2016-05-26ceph: don't forbid marking directory complete after forward seekYan, Zheng1-5/+0
2016-05-26ceph: record 'offset' for each entry of readdir resultYan, Zheng1-28/+55
2016-05-26ceph: define 'end/complete' in readdir reply as bit flagsYan, Zheng1-0/+2
2016-05-26ceph: define struct for dir entry in readdir replyYan, Zheng1-15/+12
2016-05-26ceph: simplify 'offset in frag'Yan, Zheng1-9/+3
2016-05-26ceph: remove unnecessary checks in __dcache_readdirYan, Zheng1-2/+0
2016-05-26ceph: search cache postion for dcache readdirYan, Zheng1-46/+83
2016-05-18Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-3/+4
2016-04-23ceph: Switch to generic xattr handlersAndreas Gruenbacher1-3/+4
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-2/+2
2016-03-25ceph: use kmem_cache_zallocGeliang Tang1-1/+1
2016-03-25ceph: use lookup request to revalidate dentryYan, Zheng1-0/+34
2016-03-25ceph: kill ceph_get_dentry_parent_inode()Yan, Zheng1-19/+5
2016-03-25ceph: fix security xattr deadlockYan, Zheng1-2/+7
2016-01-22wrappers for ->i_mutex accessAl Viro1-2/+2
2015-06-25ceph: rework dcache readdirYan, Zheng1-152/+161
2015-06-25ceph: switch some GFP_NOFS memory allocation to GFP_KERNELYan, Zheng1-5/+5
2015-06-25ceph: fix directory fsyncYan, Zheng1-55/+1
2015-06-25ceph: simplify two mount_timeout sitesIlya Dryomov1-10/+4
2015-06-25libceph: store timeouts in jiffies, verify user inputIlya Dryomov1-2/+2
2015-04-26Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-30/+30
2015-04-22ceph: rename snapshot supportYan, Zheng1-4/+9
2015-04-20ceph: kstrdup() memory handlingSanidhya Kashyap1-6/+18
2015-04-20ceph: match wait_for_completion_timeout return typeNicholas Mc Guire1-4/+5
2015-04-20ceph: fix dcache/nocache mount optionYan, Zheng1-0/+2
2015-04-15VFS: normal filesystems (and lustre): d_inode() annotationsDavid Howells1-30/+30
2015-02-22Merge branch 'for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-1/+1
2015-02-22VFS: (Scripted) Convert S_ISLNK/DIR/REG(dentry->d_inode) to d_is_*(dentry)David Howells1-1/+1
2015-02-19ceph: return error for traceless reply raceYan, Zheng1-6/+9
2015-02-19ceph: fix dentry leaksYan, Zheng1-0/+1
2015-02-19ceph: provide seperate {inode,file}_operations for snapdirYan, Zheng1-2/+15
2014-12-17Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sag...Linus Torvalds1-9/+18
2014-12-17ceph: fix mksnap crashYan, Zheng1-1/+3
2014-12-17ceph: introduce a new inode flag indicating if cached dentries are orderedYan, Zheng1-8/+15
2014-11-19kill f_dentry usesAl Viro1-3/+3
2014-11-19assorted conversions to %p[dD]Al Viro1-23/+19
2014-11-03move d_rcu from overlapping d_child to overlapping d_aliasAl Viro1-4/+4
2014-10-15Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sag...Linus Torvalds1-10/+31
2014-10-14ceph: include the initial ACL in create/mkdir/mknod MDS requestsYan, Zheng1-10/+31
2014-10-09vfs: Remove d_drop calls from d_revalidate implementationsEric W. Biederman1-1/+0
2014-04-28ceph: clear directory's completeness when creating fileYan, Zheng1-4/+5
2014-04-28ceph: use fpos_cmp() to compare dentry positionsYan, Zheng1-1/+1
2014-04-28ceph: check directory's completeness before emitting directory entryYan, Zheng1-10/+12
2014-04-06ceph: skip invalid dentry during dcache readdirYan, Zheng1-5/+8
2014-04-04ceph: preallocate buffer for readdir replyYan, Zheng1-5/+5
2014-04-03ceph: do not set r_old_dentry_dir on link()Sage Weil1-2/+1
2014-04-03ceph: avoid useless ceph_get_dentry_parent_inode() in ceph_rename()Sage Weil1-1/+2
2014-04-03ceph: let MDS adjust readdir 'frag'Yan, Zheng1-3/+0
2014-04-03ceph: fix reset_readdir()Yan, Zheng1-3/+6
2014-04-03ceph: fix ceph_dir_llseek()Yan, Zheng1-6/+6
2014-02-17ceph: fix __dcache_readdir()Yan, Zheng1-1/+9
2014-02-17ceph: add missing init_acl() for mkdir() and atomic_open()Yan, Zheng1-5/+8
2014-01-29ceph: fix posix ACL hooksSage Weil1-0/+1
2014-01-21ceph: check inode caps in ceph_d_revalidateYan, Zheng1-3/+8
2013-12-31ceph: add acl for cephfsGuangliang Zhao1-0/+5
2013-09-30ceph: handle frag mismatch between readdir request and replyYan, Zheng1-1/+10
2013-08-15Merge remote-tracking branch 'linus/master' into testingSage Weil1-51/+48
2013-08-09ceph: drop CAP_LINK_SHARED when sending "link" request to MDSYan, Zheng1-0/+2
2013-06-29[readdir] convert cephAl Viro1-51/+48
2013-05-01ceph: use i_release_count to indicate dir's completenessYan, Zheng1-12/+13
2013-05-01ceph: use I_COMPLETE inode flag instead of D_COMPLETE flagYan, Zheng1-51/+11
2013-02-22new helper: file_inode(file)Al Viro1-3/+3
2012-12-17lseek: the "whence" argument is called "whence"Andrew Morton1-2/+2