Age | Commit message (Expand) | Author | Files | Lines |
2024-04-11 | ceph: switch to use cap_delay_lock for the unlink delay list | Xiubo Li | 1 | -2/+2 |
2024-03-18 | ceph: break the check delayed cap loop every 5s | Xiubo Li | 1 | -0/+8 |
2024-02-13 | ceph: add ceph_cap_unlink_work to fire check_caps() immediately | Xiubo Li | 1 | -1/+16 |
2024-02-13 | ceph: always queue a writeback when revoking the Fb caps | Xiubo Li | 1 | -24/+24 |
2024-02-07 | ceph: always check dir caps asynchronously | Xiubo Li | 1 | -6/+0 |
2024-02-07 | ceph: prevent use-after-free in encode_cap_msg() | Rishabh Dave | 1 | -1/+2 |
2024-01-15 | ceph: fix deadlock or deadcode of misusing dget() | Xiubo Li | 1 | -6/+3 |
2023-11-10 | Merge tag 'ceph-for-6.7-rc1' of https://github.com/ceph/ceph-client | Linus Torvalds | 1 | -325/+438 |
2023-11-03 | ceph: print cluster fsid and client global_id in all debug logs | Xiubo Li | 1 | -300/+410 |
2023-11-03 | ceph: rename _to_client() to _to_fs_client() | Xiubo Li | 1 | -20/+20 |
2023-11-03 | ceph: pass the mdsc to several helpers | Xiubo Li | 1 | -6/+9 |
2023-10-18 | ceph: convert to new timestamp accessors | Jeff Layton | 1 | -2/+2 |
2023-09-06 | Merge tag 'ceph-for-6.6-rc1' of https://github.com/ceph/ceph-client | Linus Torvalds | 1 | -29/+206 |
2023-08-24 | ceph: fix updating i_truncate_pagecache_size for fscrypt | Xiubo Li | 1 | -2/+2 |
2023-08-24 | ceph: drop messages from MDS when unmounting | Xiubo Li | 1 | -1/+5 |
2023-08-24 | ceph: add truncate size handling support for fscrypt | Xiubo Li | 1 | -5/+13 |
2023-08-24 | ceph: handle fscrypt fields in cap messages from MDS | Jeff Layton | 1 | -2/+83 |
2023-08-24 | ceph: size handling in MClientRequest, cap updates and inode traces | Jeff Layton | 1 | -18/+26 |
2023-08-24 | ceph: encode encrypted name in ceph_mdsc_build_path and dentry release | Jeff Layton | 1 | -4/+28 |
2023-08-22 | ceph: fscrypt_auth handling for ceph | Jeff Layton | 1 | -13/+65 |
2023-07-13 | ceph: convert to ctime accessor functions | Jeff Layton | 1 | -1/+1 |
2023-06-30 | ceph: don't let check_caps skip sending responses for revoke msgs | Xiubo Li | 1 | -0/+9 |
2023-06-30 | ceph: issue a cap release immediately if no cap exists | Xiubo Li | 1 | -11/+29 |
2023-06-30 | ceph: trigger to flush the buffer when making snapshot | Xiubo Li | 1 | -0/+6 |
2023-06-08 | ceph: fix use-after-free bug for inodes when flushing capsnaps | Xiubo Li | 1 | -0/+6 |
2023-04-30 | ceph: fix potential use-after-free bug when trimming caps | Xiubo Li | 1 | -1/+1 |
2023-02-20 | Merge tag 'locks-v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/jlayt... | Linus Torvalds | 1 | -0/+1 |
2023-02-02 | ceph: blocklist the kclient when receiving corrupted snap trace | Xiubo Li | 1 | -3/+13 |
2023-01-11 | filelock: move file locking definitions to separate header file | Jeff Layton | 1 | -0/+1 |
2023-01-02 | ceph: switch to vfs_inode_has_locks() to fix file lock bug | Xiubo Li | 1 | -1/+1 |
2022-12-12 | ceph: try to check caps immediately after async creating finishes | Xiubo Li | 1 | -0/+2 |
2022-12-12 | ceph: remove useless session parameter for check_caps() | Xiubo Li | 1 | -14/+9 |
2022-11-14 | ceph: fix NULL pointer dereference for req->r_session | Xiubo Li | 1 | -36/+12 |
2022-10-04 | ceph: Use kcalloc for allocating multiple elements | Kenneth Lee | 1 | -1/+1 |
2022-10-04 | ceph: no need to wait for transition RDCACHE|RD -> RD | Xiubo Li | 1 | -2/+6 |
2022-10-04 | ceph: wake up the waiters if any new caps comes | Xiubo Li | 1 | -0/+4 |
2022-08-03 | ceph: flush the dirty caps immediatelly when quota is approaching | Xiubo Li | 1 | -2/+3 |
2022-08-03 | ceph: don't get the inline data for new creating files | Xiubo Li | 1 | -1/+1 |
2022-08-03 | ceph: make change_auth_cap_ses a global symbol | Xiubo Li | 1 | -2/+2 |
2022-08-03 | ceph: don't leak snap_rwsem in handle_cap_grant | Jeff Layton | 1 | -14/+13 |
2022-06-29 | ceph: wait on async create before checking caps for syncfs | Jeff Layton | 1 | -0/+1 |
2022-06-09 | netfs: Fix gcc-12 warning by embedding vfs inode in netfs_i_context | David Howells | 1 | -52/+52 |
2022-05-25 | ceph: try to queue a writeback if revoking fails | Xiubo Li | 1 | -4/+24 |
2022-05-25 | ceph: rename unsafe_request_wait() | Xiubo Li | 1 | -4/+4 |
2022-05-25 | ceph: replace usage of found with dedicated list iterator variable | Jakob Koschel | 1 | -17/+15 |
2022-05-25 | ceph: use dedicated list iterator variable | Jakob Koschel | 1 | -3/+4 |
2022-04-25 | ceph: fix possible NULL pointer dereference for req->r_session | Xiubo Li | 1 | -0/+4 |
2022-04-25 | ceph: get snap_rwsem read lock in handle_cap_export for ceph_add_cap | Niels Dossche | 1 | -0/+3 |
2022-03-21 | ceph: assign the ci only when the inode isn't NULL | Xiubo Li | 1 | -1/+1 |
2022-03-01 | ceph: wait for async create reply before sending any cap messages | Jeff Layton | 1 | -0/+14 |
2022-01-26 | ceph: put the requests/sessions when it fails to alloc memory | Xiubo Li | 1 | -18/+37 |
2022-01-20 | Merge tag 'ceph-for-5.17-rc1' of git://github.com/ceph/ceph-client | Linus Torvalds | 1 | -2/+1 |
2022-01-13 | ceph: remove redundant Lsx caps check | Xiubo Li | 1 | -2/+1 |
2022-01-12 | Merge tag 'fscache-rewrite-20220111' of git://git.kernel.org/pub/scm/linux/ke... | Linus Torvalds | 1 | -1/+2 |
2022-01-11 | ceph: conversion to new fscache API | Jeff Layton | 1 | -1/+2 |
2021-12-01 | ceph: fix duplicate increment of opened_inodes metric | Hu Weiwen | 1 | -8/+8 |
2021-11-08 | ceph: shut down access to inode when async create fails | Jeff Layton | 1 | -6/+6 |
2021-11-08 | ceph: refactor remove_session_caps_cb | Jeff Layton | 1 | -0/+116 |
2021-11-08 | ceph: don't use -ESTALE as special return code in try_get_cap_refs | Jeff Layton | 1 | -8/+8 |
2021-11-08 | ceph: print inode numbers instead of pointer values | Jeff Layton | 1 | -4/+5 |
2021-10-19 | ceph: fix handling of "meta" errors | Jeff Layton | 1 | -9/+3 |
2021-09-21 | ceph: fix off by one bugs in unsafe_request_wait() | Dan Carpenter | 1 | -2/+2 |
2021-09-03 | ceph: fix dereference of null pointer cf | Colin Ian King | 1 | -0/+3 |
2021-09-02 | ceph: lockdep annotations for try_nonblocking_invalidate | Jeff Layton | 1 | -0/+2 |
2021-09-02 | ceph: don't WARN if we're forcibly removing the session caps | Xiubo Li | 1 | -9/+30 |
2021-09-02 | ceph: remove the capsnaps when removing caps | Xiubo Li | 1 | -17/+51 |
2021-09-02 | ceph: print more information when we can't find snaprealm | Jeff Layton | 1 | -6/+5 |
2021-09-02 | ceph: add ceph_change_snap_realm() helper | Jeff Layton | 1 | -33/+3 |
2021-09-02 | ceph: flush the mdlog before waiting on unsafe reqs | Xiubo Li | 1 | -0/+76 |
2021-09-02 | ceph: make iterate_sessions a global symbol | Xiubo Li | 1 | -25/+1 |
2021-09-02 | ceph: fix memory leak on decode error in ceph_handle_caps | Jeff Layton | 1 | -2/+3 |
2021-08-25 | ceph: correctly handle releasing an embedded cap flush | Xiubo Li | 1 | -8/+13 |
2021-08-04 | ceph: reduce contention in ceph_check_delayed_caps() | Luis Henriques | 1 | -1/+16 |
2021-06-29 | ceph: eliminate ceph_async_iput() | Jeff Layton | 1 | -6/+3 |
2021-06-29 | ceph: don't take s_mutex in ceph_flush_snaps | Jeff Layton | 1 | -10/+3 |
2021-06-29 | ceph: don't take s_mutex in try_flush_caps | Jeff Layton | 1 | -14/+2 |
2021-06-29 | ceph: don't take s_mutex or snap_rwsem in ceph_check_caps | Jeff Layton | 1 | -61/+11 |
2021-06-29 | ceph: eliminate session->s_gen_ttl_lock | Jeff Layton | 1 | -9/+6 |
2021-05-06 | Merge tag 'ceph-for-5.13-rc1' of git://github.com/ceph/ceph-client | Linus Torvalds | 1 | -18/+9 |
2021-04-27 | ceph: fix up some bare fetches of i_size | Jeff Layton | 1 | -3/+3 |
2021-04-27 | ceph: drop pinned_page parameter from ceph_get_caps | Jeff Layton | 1 | -6/+5 |
2021-04-27 | ceph: fix fscache invalidation | Jeff Layton | 1 | -0/+1 |
2021-04-27 | ceph: rip out old fscache readpage handling | Jeff Layton | 1 | -9/+0 |
2021-03-08 | ceph: don't allow type or device number to change on non-I_NEW inodes | Jeff Layton | 1 | -1/+7 |
2021-02-16 | ceph: defer flushing the capsnap if the Fb is used | Xiubo Li | 1 | -13/+20 |
2021-02-16 | ceph: allow queueing cap/snap handling after putting cap references | Jeff Layton | 1 | -4/+25 |
2021-02-16 | ceph: fix flush_snap logic after putting caps | Jeff Layton | 1 | -4/+6 |
2020-12-14 | ceph: fix race in concurrent __ceph_remove_cap invocations | Luis Henriques | 1 | -2/+9 |
2020-12-14 | ceph: fix up some warnings on W=1 builds | Jeff Layton | 1 | -7/+4 |
2020-12-14 | ceph: add new RECOVER mount_state when recovering session | Jeff Layton | 1 | -1/+1 |
2020-12-14 | ceph: don't WARN when removing caps due to blocklisting | Jeff Layton | 1 | -1/+2 |
2020-11-04 | ceph: check session state after bumping session->s_seq | Jeff Layton | 1 | -1/+1 |
2020-10-12 | ceph: comment cleanups and clarifications | Jeff Layton | 1 | -0/+16 |
2020-10-12 | ceph: break up send_cap_msg | Jeff Layton | 1 | -32/+28 |
2020-10-12 | ceph: drop separate mdsc argument from __send_cap | Jeff Layton | 1 | -6/+5 |
2020-10-12 | ceph: metrics for opened files, pinned caps and opened inodes | Xiubo Li | 1 | -2/+36 |
2020-10-12 | ceph: add ceph_sb_to_mdsc helper support to parse the mdsc | Xiubo Li | 1 | -2/+1 |
2020-08-24 | ceph: fix inode number handling on arches with 32-bit ino_t | Jeff Layton | 1 | -7/+7 |
2020-08-03 | ceph: clean up and optimize ceph_check_delayed_caps() | Jeff Layton | 1 | -6/+4 |
2020-08-03 | ceph: add global total_caps to count the mdsc's total caps number | Xiubo Li | 1 | -0/+2 |
2020-06-01 | ceph: skip checking caps when session reconnecting and releasing reqs | Xiubo Li | 1 | -2/+13 |
2020-06-01 | ceph: ceph_kick_flushing_caps needs the s_mutex | Jeff Layton | 1 | -0/+2 |
2020-06-01 | ceph: request expedited service on session's last cap flush | Jeff Layton | 1 | -2/+6 |
2020-06-01 | ceph: convert mdsc->cap_dirty to a per-session list | Jeff Layton | 1 | -13/+65 |
2020-06-01 | ceph: reset i_requested_max_size if file write is not wanted | Yan, Zheng | 1 | -10/+19 |
2020-06-01 | ceph: fix potential race in ceph_check_caps | Jeff Layton | 1 | -1/+13 |
2020-06-01 | ceph: don't take i_ceph_lock in handle_cap_import | Jeff Layton | 1 | -3/+2 |
2020-06-01 | ceph: don't release i_ceph_lock in handle_cap_trunc | Jeff Layton | 1 | -8/+10 |
2020-06-01 | ceph: add comments for handle_cap_flush_ack logic | Jeff Layton | 1 | -1/+13 |
2020-06-01 | ceph: split up __finish_cap_flush | Jeff Layton | 1 | -31/+29 |
2020-06-01 | ceph: reorganize __send_cap for less spinlock abuse | Jeff Layton | 1 | -79/+86 |
2020-06-01 | ceph: add caps perf metric for each superblock | Xiubo Li | 1 | -0/+19 |
2020-05-27 | ceph: flush release queue when handling caps for unknown inode | Jeff Layton | 1 | -1/+1 |
2020-05-04 | ceph: fix double unlock in handle_cap_export() | Wu Bo | 1 | -0/+1 |
2020-05-04 | ceph: fix special error code in ceph_try_get_caps() | Wu Bo | 1 | -1/+1 |
2020-03-30 | ceph: wait for async creating inode before requesting new max size | Yan, Zheng | 1 | -0/+5 |
2020-03-30 | ceph: don't skip updating wanted caps when cap is stale | Yan, Zheng | 1 | -2/+6 |
2020-03-30 | ceph: request new max size only when there is auth cap | Yan, Zheng | 1 | -1/+1 |
2020-03-30 | ceph: cleanup return error of try_get_cap_refs() | Yan, Zheng | 1 | -11/+15 |
2020-03-30 | ceph: check all mds' caps after page writeback | Yan, Zheng | 1 | -1/+1 |
2020-03-30 | ceph: update i_requested_max_size only when sending cap msg to auth mds | Yan, Zheng | 1 | -1/+2 |
2020-03-30 | ceph: simplify calling of ceph_get_fmode() | Yan, Zheng | 1 | -23/+3 |
2020-03-30 | ceph: remove delay check logic from ceph_check_caps() | Yan, Zheng | 1 | -111/+37 |
2020-03-30 | ceph: consider inode's last read/write when calculating wanted caps | Yan, Zheng | 1 | -54/+129 |
2020-03-30 | ceph: always renew caps if mds_wanted is insufficient | Yan, Zheng | 1 | -21/+15 |
2020-03-30 | ceph: cache layout in parent dir on first sync create | Jeff Layton | 1 | -3/+10 |
2020-03-30 | ceph: don't take refs to want mask unless we have all bits | Yan, Zheng | 1 | -1/+4 |
2020-03-30 | ceph: cap tracking for async directory operations | Jeff Layton | 1 | -8/+19 |
2020-03-30 | ceph: make __take_cap_refs non-static | Jeff Layton | 1 | -6/+6 |
2020-03-30 | ceph: add infrastructure for waiting for async create to complete | Jeff Layton | 1 | -1/+12 |
2020-03-30 | ceph: more caps.c lockdep assertions | Jeff Layton | 1 | -0/+3 |
2020-03-30 | ceph: clean up kick_flushing_inode_caps() | Jeff Layton | 1 | -12/+9 |
2020-03-30 | ceph: check inode type for CEPH_CAP_FILE_{CACHE,RD,REXTEND,LAZYIO} | Yan, Zheng | 1 | -12/+32 |
2020-03-30 | ceph: add refcounting for Fx caps | Jeff Layton | 1 | -0/+7 |
2020-01-27 | ceph: only touch the caps which have the subset mask requested | Xiubo Li | 1 | -1/+2 |
2019-12-09 | ceph: switch to global cap helper | Xiubo Li | 1 | -14/+10 |
2019-12-09 | ceph: show tasks waiting on caps in debugfs caps file | Jeff Layton | 1 | -0/+17 |
2019-10-29 | ceph: fix use-after-free in __ceph_remove_cap() | Luis Henriques | 1 | -5/+5 |
2019-09-16 | ceph: remove incorrect comment above __send_cap | Jeff Layton | 1 | -4/+0 |
2019-09-16 | ceph: remove CEPH_I_NOFLUSH | Jeff Layton | 1 | -10/+0 |
2019-09-16 | ceph: remove unneeded test in try_flush_caps | Jeff Layton | 1 | -1/+1 |
2019-09-16 | ceph: have __mark_caps_flushing return flush_tid | Jeff Layton | 1 | -10/+10 |
2019-09-16 | ceph: fix comments over ceph_add_cap | Jeff Layton | 1 | -1/+3 |
2019-09-16 | ceph: fetch cap_gen under spinlock in ceph_add_cap | Jeff Layton | 1 | -2/+7 |
2019-09-16 | ceph: remove ceph_get_cap_mds and __ceph_get_cap_mds | Jeff Layton | 1 | -31/+0 |
2019-09-16 | ceph: invalidate all write mode filp after reconnect | Yan, Zheng | 1 | -0/+13 |
2019-09-16 | ceph: return -EIO if read/write against filp that lost file locks | Yan, Zheng | 1 | -6/+22 |
2019-09-16 | ceph: pass filp to ceph_get_caps() | Yan, Zheng | 1 | -15/+17 |
2019-09-16 | ceph: track and report error of async metadata operation | Yan, Zheng | 1 | -7/+17 |
2019-08-22 | ceph: fix buffer free while holding i_ceph_lock in __ceph_build_xattrs_blob() | Luis Henriques | 1 | -1/+4 |
2019-07-08 | ceph: more precise CEPH_CLIENT_CAPS_PENDING_CAPSNAP | Yan, Zheng | 1 | -11/+30 |
2019-07-08 | ceph: kick flushing and flush snaps before sending normal cap message | Yan, Zheng | 1 | -4/+14 |
2019-07-08 | ceph: clear CEPH_I_KICK_FLUSH flag inside __kick_flushing_caps() | Yan, Zheng | 1 | -9/+4 |
2019-07-08 | ceph: handle change_attr in cap messages | Jeff Layton | 1 | -9/+10 |
2019-07-08 | ceph: handle btime in cap messages | Jeff Layton | 1 | -6/+12 |
2019-07-08 | ceph: add selinux support | Yan, Zheng | 1 | -0/+1 |
2019-07-08 | ceph: hold i_ceph_lock when removing caps for freeing inode | Yan, Zheng | 1 | -4/+6 |
2019-06-05 | ceph: fix error handling in ceph_get_caps() | Yan, Zheng | 1 | -11/+11 |
2019-06-05 | ceph: avoid iput_final() while holding mutex or in dispatch thread | Yan, Zheng | 1 | -4/+8 |
2019-05-07 | ceph: print inode number in __caps_issued_mask debugging messages | Jeff Layton | 1 | -6/+6 |
2019-05-07 | ceph: simplify arguments and return semantics of try_get_cap_refs | Jeff Layton | 1 | -46/+30 |
2019-05-07 | ceph: fix comment over ceph_drop_caps_for_unlink | Jeff Layton | 1 | -1/+1 |
2019-05-07 | ceph: remove superfluous inode_lock in ceph_fsync | Jeff Layton | 1 | -3/+0 |
2019-03-05 | ceph: add mount option to limit caps count | Yan, Zheng | 1 | -7/+26 |
2019-03-05 | ceph: touch existing cap when handling reply | Yan, Zheng | 1 | -0/+4 |
2019-03-05 | ceph: send cap releases more aggressively | Yan, Zheng | 1 | -17/+12 |
2019-03-05 | ceph: split large reconnect into multiple messages | Yan, Zheng | 1 | -0/+6 |
2019-01-21 | ceph: clear inode pointer when snap realm gets dropped by its inode | Yan, Zheng | 1 | -0/+2 |
2018-12-26 | ceph: update wanted caps after resuming stale session | Yan, Zheng | 1 | -17/+23 |
2018-12-26 | ceph: skip updating 'wanted' caps if caps are already issued | Yan, Zheng | 1 | -10/+17 |
2018-12-26 | ceph: don't request excl caps when mount is readonly | Yan, Zheng | 1 | -2/+5 |
2018-12-26 | ceph: don't update importing cap's mseq when handing cap export | Yan, Zheng | 1 | -1/+0 |
2018-10-22 | ceph: add non-blocking parameter to ceph_try_get_caps() | Luis Henriques | 1 | -3/+4 |
2018-10-22 | ceph: set timeout conditionally in __cap_delay_requeue | Xuehan Xu | 1 | -6/+8 |
2018-10-22 | ceph: reset cap hold timeout only for requeued inode | Chengguang Xu | 1 | -1/+1 |
2018-08-13 | ceph: refactor error handling code in ceph_reserve_caps() | Chengguang Xu | 1 | -33/+13 |
2018-08-13 | ceph: refactor ceph_unreserve_caps() | Chengguang Xu | 1 | -30/+36 |
2018-08-02 | ceph: use timespec64 for inode timestamp | Arnd Bergmann | 1 | -13/+13 |
2018-06-15 | Merge tag 'vfs-timespec64' of git://git.kernel.org/pub/scm/linux/kernel/git/a... | Linus Torvalds | 1 | -3/+3 |
2018-06-05 | vfs: change inode times to use struct timespec64 | Deepa Dinamani | 1 | -3/+3 |
2018-06-04 | ceph: fix wrong check for the case of updating link count | Yan, Zheng | 1 | -2/+2 |
2018-06-04 | ceph: handle the new nfiles/nsubdirs fields in cap message | Yan, Zheng | 1 | -5/+34 |
2018-06-04 | ceph: define argument structure for handle_cap_grant | Yan, Zheng | 1 | -54/+61 |
2018-06-04 | ceph: always get rstat from auth mds | Yan, Zheng | 1 | -0/+2 |
2018-04-02 | ceph: quota: cache inode pointer in ceph_snap_realm | Luis Henriques | 1 | -1/+3 |
2018-04-02 | ceph: optimizing cap reservation | Chengguang Xu | 1 | -29/+59 |
2018-04-02 | ceph: release unreserved caps if having enough available caps | Chengguang Xu | 1 | -1/+15 |
2018-04-02 | ceph: optimizing cap allocation | Chengguang Xu | 1 | -0/+16 |
2018-04-02 | ceph: adding protection for showing cap reservation info | Chengguang Xu | 1 | -0/+4 |
2018-02-26 | ceph: flush dirty caps of unlinked inode ASAP | Zhi Zhang | 1 | -0/+26 |
2018-01-30 | ceph: improving efficiency of syncfs | Chengguang Xu | 1 | -1/+1 |
2018-01-29 | ceph: try to allocate enough memory for reserved caps | Zhi Zhang | 1 | -8/+53 |
2018-01-29 | ceph: fix race of queuing delayed caps | Yan, Zheng | 1 | -17/+16 |
2018-01-29 | ceph: delete unreachable code in ceph_check_caps() | Yan, Zheng | 1 | -12/+3 |
2018-01-29 | ceph: limit rate of cap import/export error messages | Yan, Zheng | 1 | -7/+15 |
2018-01-29 | ceph: fix incorrect snaprealm when adding caps | Yan, Zheng | 1 | -1/+13 |
2018-01-29 | ceph: use atomic_t for ceph_inode_info::i_shared_gen | Yan, Zheng | 1 | -1/+1 |
2018-01-29 | ceph: voluntarily drop Ax cap for requests that create new inode | Yan, Zheng | 1 | -6/+15 |
2017-11-13 | ceph: remove unused and redundant variable dropping | Colin Ian King | 1 | -2/+1 |
2017-11-13 | ceph: fix bool initialization/comparison | Thomas Meyer | 1 | -3/+3 |