aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ceph/file.c
AgeCommit message (Expand)AuthorFilesLines
4 daysceph: check the cephx mds auth access for async diropXiubo Li1-0/+31
4 daysceph: check the cephx mds auth access for openXiubo Li1-2/+33
2024-03-19ceph: set correct cap mask for getattr request for readXiubo Li1-3/+5
2024-03-19ceph: stop copying to iter at EOF on sync readsXiubo Li1-10/+13
2024-01-19Merge tag 'ceph-for-6.8-rc1' of https://github.com/ceph/ceph-clientLinus Torvalds1-2/+6
2024-01-15ceph: try to allocate a smaller extent map for sparse readXiubo Li1-2/+6
2023-12-12fs: use splice_copy_file_range() inline helperAmir Goldstein1-2/+2
2023-12-01fs: fork splice_file_range() from do_splice_direct()Amir Goldstein1-4/+5
2023-11-10Merge tag 'ceph-for-6.7-rc1' of https://github.com/ceph/ceph-clientLinus Torvalds1-119/+163
2023-11-03ceph: allow idmapped atomic_open inode opChristian Brauner1-2/+9
2023-11-03ceph: print cluster fsid and client global_id in all debug logsXiubo Li1-104/+141
2023-11-03ceph: rename _to_client() to _to_fs_client()Xiubo Li1-12/+12
2023-11-03ceph: pass the mdsc to several helpersXiubo Li1-1/+1
2023-10-30Merge tag 'vfs-6.7.ctime' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs...Linus Torvalds1-1/+1
2023-10-18ceph: convert to new timestamp accessorsJeff Layton1-1/+1
2023-10-09ceph: fix type promotion bug on 32bit systemsDan Carpenter1-1/+1
2023-08-24ceph: switch ceph_lookup/atomic_open() to use new fscrypt helperLuís Henriques1-5/+3
2023-08-24ceph: invalidate pages when doing direct/sync writesLuís Henriques1-5/+14
2023-08-24ceph: plumb in decryption during readsJeff Layton1-24/+66
2023-08-24ceph: add read/modify/write to ceph_sync_writeJeff Layton1-28/+290
2023-08-24ceph: align data in pages in ceph_sync_writeJeff Layton1-10/+10
2023-08-24ceph: don't use special DIO path for encrypted inodesJeff Layton1-2/+4
2023-08-24ceph: add object version support for sync readXiubo Li1-12/+32
2023-08-24ceph: size handling in MClientRequest, cap updates and inode tracesJeff Layton1-0/+1
2023-08-24ceph: add some fscrypt guardrailsJeff Layton1-1/+20
2023-08-24ceph: set DCACHE_NOKEY_NAME flag in ceph_lookup/atomic_open()Jeff Layton1-0/+7
2023-08-22ceph: preallocate inode for ops that may create oneJeff Layton1-25/+40
2023-08-22ceph: add new mount option to enable sparse readsJeff Layton1-8/+43
2023-07-07Merge tag 'ceph-for-6.5-rc1' of https://github.com/ceph/ceph-clientLinus Torvalds1-1/+2
2023-06-30ceph: voluntarily drop Xx caps for requests those touch parent mtimeXiubo Li1-1/+2
2023-06-28Merge tag 'mm-stable-2023-06-24-19-15' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-6/+0
2023-06-09filemap: update ki_pos in generic_perform_writeChristoph Hellwig1-2/+0
2023-06-09backing_dev: remove current->backing_dev_infoChristoph Hellwig1-4/+0
2023-05-24ceph: Provide a splice-read wrapperDavid Howells1-1/+64
2023-03-02Merge tag 'ceph-for-6.3-rc1' of https://github.com/ceph/ceph-clientLinus Torvalds1-0/+8
2023-02-26ceph: update the time stamps and try to drop the suid/sgidXiubo Li1-0/+8
2023-02-20Merge tag 'for-6.3/block-2023-02-16' of git://git.kernel.dk/linuxLinus Torvalds1-8/+4
2023-02-03ceph: use bvec_set_page to initialize a bvecChristoph Hellwig1-8/+4
2023-02-02ceph: blocklist the kclient when receiving corrupted snap traceXiubo Li1-0/+3
2022-12-14Merge tag 'ceph-for-6.2-rc1' of https://github.com/ceph/ceph-clientLinus Torvalds1-10/+16
2022-12-12ceph: try to check caps immediately after async creating finishesXiubo Li1-0/+9
2022-12-12ceph: remove useless session parameter for check_caps()Xiubo Li1-10/+7
2022-11-25use less confusing names for iov_iter direction initializersAl Viro1-2/+2
2022-08-11Merge tag 'ceph-for-5.20-rc1' of https://github.com/ceph/ceph-clientLinus Torvalds1-75/+48
2022-08-09Merge tag 'fs.setgid.v6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/b...Linus Torvalds1-4/+0
2022-08-08iov_iter: advancing variants of iov_iter_get_pages{,_alloc}()Al Viro1-2/+1
2022-08-08new iov_iter flavour - ITER_UBUFAl Viro1-1/+1
2022-08-03libceph: clean up ceph_osdc_start_request prototypeJeff Layton1-19/+13
2022-08-03ceph: don't truncate file in atomic_openHu Weiwen1-3/+6
2022-08-03ceph: flush the dirty caps immediatelly when quota is approachingXiubo Li1-2/+3
2022-08-03ceph: don't get the inline data for new creating filesXiubo Li1-3/+2
2022-08-03ceph: update the auth cap when the async create req is forwardedXiubo Li1-0/+14
2022-08-03ceph: convert to generic_file_llseekJeff Layton1-47/+5
2022-08-03ceph: wait for the first reply of inflight async unlinkXiubo Li1-1/+5
2022-07-21ceph: rely on vfs for setgid strippingYang Xu1-4/+0
2022-06-09netfs: Fix gcc-12 warning by embedding vfs inode in netfs_i_contextDavid Howells1-1/+1
2022-05-10ceph: fix setting of xattrs on async created inodesJeff Layton1-3/+13
2022-04-01fs: Pass an iocb to generic_perform_write()Matthew Wilcox (Oracle)1-1/+1
2022-03-01ceph: wake waiters after failed async createJeff Layton1-18/+33
2022-03-01ceph: uninline the data on a file opened for writingDavid Howells1-16/+16
2022-01-26ceph: set pool_ns in new inode layout for async createsJeff Layton1-0/+7
2022-01-26ceph: properly put ceph_string reference after async create attemptJeff Layton1-0/+2
2022-01-20Merge tag 'ceph-for-5.17-rc1' of git://github.com/ceph/ceph-clientLinus Torvalds1-9/+15
2022-01-13ceph: add new "nopagecache" optionJeff Layton1-9/+15
2022-01-12Merge tag 'fscache-rewrite-20220111' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-3/+10
2022-01-11ceph: conversion to new fscache APIJeff Layton1-3/+10
2021-12-01ceph: fix up non-directory creation in SGID directoriesChristian Brauner1-3/+15
2021-12-01ceph: initialize i_size variable in ceph_sync_readJeff Layton1-1/+1
2021-11-13Merge tag 'ceph-for-5.16-rc1' of git://github.com/ceph/ceph-clientLinus Torvalds1-18/+85
2021-11-08ceph: add a new metric to keep track of remote object copiesLuís Henriques1-0/+4
2021-11-08libceph, ceph: move ceph_osdc_copy_from() into cephfs codeLuís Henriques1-11/+63
2021-11-08ceph: return the real size read when it hits EOFXiubo Li1-5/+8
2021-11-08ceph: shut down access to inode when async create failsJeff Layton1-1/+9
2021-11-08ceph: print inode numbers instead of pointer valuesJeff Layton1-1/+1
2021-11-01Merge tag 'for-5.16/ki_complete-2021-10-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2021-10-25fs: get rid of the res2 iocb->ki_complete argumentJens Axboe1-1/+1
2021-10-19ceph: fix handling of "meta" errorsJeff Layton1-1/+0
2021-09-08Merge tag 'ceph-for-5.15-rc1' of git://github.com/ceph/ceph-clientLinus Torvalds1-15/+17
2021-09-02ceph: request Fw caps before updating the mtime in ceph_write_iterJeff Layton1-15/+17
2021-07-13ceph: Fix race between hole punch and page faultJan Kara1-0/+2
2021-06-29ceph: take reference to req->r_parent at point of assignmentJeff Layton1-0/+1
2021-06-29ceph: add IO size metrics supportXiubo Li1-12/+11
2021-06-22ceph: fix error handling in ceph_atomic_open and ceph_lookupJeff Layton1-6/+8
2021-06-22ceph: must hold snap_rwsem when filling inode for async createJeff Layton1-0/+3
2021-04-27ceph: drop pinned_page parameter from ceph_get_capsJeff Layton1-12/+5
2021-04-27ceph: avoid counting the same request twice or moreXiubo Li1-10/+10
2021-04-27ceph: rename the metric helpersXiubo Li1-6/+6
2021-04-27ceph: don't use d_add in ceph_handle_snapdirJeff Layton1-2/+5
2020-10-12libceph, rbd, ceph: "blacklist" -> "blocklist"Ilya Dryomov1-2/+2
2020-10-12ceph: add ceph_sb_to_mdsc helper support to parse the mdscXiubo Li1-5/+3
2020-10-12ceph: drop special-casing for ITER_PIPE in ceph_sync_readJeff Layton1-47/+24
2020-10-12ceph: remove unnecessary return in switch statementLuis Henriques1-2/+0
2020-08-28Merge tag 'ceph-for-5.9-rc3' of git://github.com/ceph/ceph-clientLinus Torvalds1-2/+3
2020-08-24ceph: don't allow setlease on cephfsJeff Layton1-0/+1
2020-08-24ceph: fix inode number handling on arches with 32-bit ino_tJeff Layton1-2/+2
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-08-03ceph: do not access the kiocb after aio requestsXiubo Li1-2/+3
2020-06-01ceph: add read/write latency metric supportXiubo Li1-0/+30
2020-04-13ceph: fix potential bad pointer deref in async dirops cb'sJeff Layton1-2/+2
2020-03-30ceph: simplify calling of ceph_get_fmode()Yan, Zheng1-16/+5
2020-03-30ceph: remove delay check logic from ceph_check_caps()Yan, Zheng1-9/+4
2020-03-30ceph: consider inode's last read/write when calculating wanted capsYan, Zheng1-9/+12
2020-03-30ceph: update dentry lease for async createYan, Zheng1-0/+3
2020-03-30ceph: attempt to do async create when possibleJeff Layton1-7/+240
2020-03-30ceph: cache layout in parent dir on first sync createJeff Layton1-1/+21
2020-03-30ceph: re-org copy_file_range and fix some error pathsLuis Henriques1-73/+100
2020-03-23ceph: check POOL_FLAG_FULL/NEARFULL in addition to OSDMAP_FULL/NEARFULLIlya Dryomov1-3/+11
2020-02-11ceph: do not execute direct write in parallel if O_APPEND is specifiedXiubo Li1-6/+11
2020-01-27ceph: use copy-from2 op in copy_file_rangeLuis Henriques1-1/+10
2019-12-01Merge tag 'compat-ioctl-5.5' of git://git.kernel.org:/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2019-11-14ceph: increment/decrement dio counter on async requestsJeff Layton1-0/+4
2019-11-14ceph: take the inode lock before acquiring cap refsJeff Layton1-7/+18
2019-11-05ceph: don't allow copy_file_range when stripe_count != 1Luis Henriques1-2/+10
2019-11-05ceph: don't try to handle hashed dentries in non-O_CREAT atomic_openJeff Layton1-0/+3
2019-10-23ceph: fix compat_ioctl for ceph_dir_operationsArnd Bergmann1-1/+1
2019-09-16ceph: allow object copies across different filesystems in the same clusterLuis Henriques1-4/+13
2019-09-16ceph: add buffered/direct exclusionary locking for reads and writesJeff Layton1-13/+22
2019-09-16ceph: auto reconnect after blacklistedYan, Zheng1-1/+7
2019-09-16ceph: invalidate all write mode filp after reconnectYan, Zheng1-0/+1
2019-09-16ceph: pass filp to ceph_get_caps()Yan, Zheng1-18/+17
2019-09-16ceph: track and report error of async metadata operationYan, Zheng1-2/+4
2019-09-16ceph: allow copy_file_range when src and dst inode are sameJeff Layton1-2/+0
2019-07-18Merge tag 'ceph-for-5.3-rc1' of git://github.com/ceph/ceph-clientLinus Torvalds1-13/+21
2019-07-08ceph: fix end offset in truncate_inode_pages_range callLuis Henriques1-1/+1
2019-07-08libceph: rename r_unsafe_item to r_private_itemIlya Dryomov1-3/+3
2019-07-08ceph: increment change_attribute on local changesJeff Layton1-0/+5
2019-07-08ceph: add selinux supportYan, Zheng1-0/+3
2019-07-08ceph: rename struct ceph_acls_info to ceph_acl_sec_ctxYan, Zheng1-9/+9
2019-06-09vfs: allow copy_file_range to copy across devicesAmir Goldstein1-1/+3
2019-06-09vfs: no fallback for ->copy_file_rangeDave Chinner1-3/+18
2019-06-05ceph: single workqueue for inode related worksYan, Zheng1-1/+1
2019-05-16Merge tag 'ceph-for-5.2-rc1' of git://github.com/ceph/ceph-clientLinus Torvalds1-1/+1
2019-05-07ceph: fix NULL pointer deref when debugging is enabledJeff Layton1-1/+1
2019-04-08fs: mark expected switch fall-throughsGustavo A. R. Silva1-0/+1
2019-03-05ceph: pass inclusive lend parameter to filemap_write_and_wait_range()zhengbin1-5/+8
2018-11-08ceph: add destination file data sync before doing any remote copyLuis Henriques1-2/+9
2018-11-01Merge branch 'work.afs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-5/+4
2018-10-24iov_iter: Separate type from direction and use accessor functionsDavid Howells1-3/+2
2018-10-24iov_iter: Use accessor functionDavid Howells1-1/+1
2018-10-22ceph: new mount option to disable usage of copy-from opLuis Henriques1-0/+3
2018-10-22ceph: support copy_file_range file operationLuis Henriques1-1/+293
2018-10-22libceph, rbd, ceph: move ceph_osdc_alloc_messages() callsIlya Dryomov1-5/+5
2018-10-22ceph: num_ops is off by one in ceph_aio_retry_work()Ilya Dryomov1-1/+1
2018-10-22ceph: only allow punch hole mode in fallocateLuis Henriques1-36/+9
2018-10-22ceph: refactor ceph_sync_read()Yan, Zheng1-113/+106
2018-08-20Merge tag 'ceph-for-4.19-rc1' of git://github.com/ceph/ceph-clientLinus Torvalds1-12/+22
2018-08-13ceph: compare fsc->max_file_size and inode->i_size for max file size limitChengguang Xu1-1/+2
2018-08-02ceph: add additional offset check in ceph_write_iter()Chengguang Xu1-4/+11
2018-08-02ceph: add additional range check in ceph_fallocate()Chengguang Xu1-3/+5
2018-08-02libceph: use timespec64 for r_mtimeArnd Bergmann1-4/+4
2018-07-12get rid of 'opened' argument of ->atomic_open() - part 3Al Viro1-2/+1
2018-07-12getting rid of 'opened' argument of ->atomic_open() - part 1Al Viro1-1/+1
2018-07-12introduce FMODE_CREATED and switch to itAl Viro1-1/+1
2018-06-15Merge tag 'vfs-timespec64' of git://git.kernel.org/pub/scm/linux/kernel/git/a...Linus Torvalds1-3/+3
2018-06-05vfs: change inode times to use struct timespec64Deepa Dinamani1-3/+3
2018-06-04libceph: make abort_on_full a per-osdc settingIlya Dryomov1-1/+0
2018-05-10ceph: fix iov_iter issues in ceph_direct_read_write()Ilya Dryomov1-78/+117
2018-05-10ceph: fix rsize/wsize capping in ceph_direct_read_write()Ilya Dryomov1-5/+5
2018-04-02ceph: quota: update MDS when max_bytes is approachingLuis Henriques1-0/+6
2018-04-02ceph: quota: support for ceph.quota.max_bytesLuis Henriques1-0/+11
2018-04-02ceph: quota: support for ceph.quota.max_filesLuis Henriques1-1/+3
2018-04-02ceph: optimize memory usageChengguang Xu1-26/+62
2018-04-02ceph: filter out used flags when printing unused open flagsChengguang Xu1-0/+2
2018-04-02ceph: change variable name to follow common ruleChengguang Xu1-19/+19
2018-04-02ceph: add newline to end of debug message formatChengguang Xu1-1/+1
2018-03-30ceph: only dirty ITER_IOVEC pages for direct readYan, Zheng1-3/+6
2018-01-29ceph: track read contexts in ceph_file_infoYan, Zheng1-2/+8
2018-01-29ceph: voluntarily drop Ax cap for requests that create new inodeYan, Zheng1-1/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-09-06ceph: adjust 36 checks for NULL pointersMarkus Elfring1-1/+1
2017-09-06ceph: check negative offsets in ceph_llseek()Luis Henriques1-2/+2
2017-09-06ceph: don't use CEPH_OSD_FLAG_ORDERSNAPYan, Zheng1-3/+3
2017-09-06ceph: include snapc in debug message of writeYan, Zheng1-5/+6
2017-09-06ceph: fix -EOLDSNAPC handlingYan, Zheng1-10/+7
2017-09-06ceph: nuke startsync opYanhu Cao1-4/+1
2017-09-06ceph: limit osd write sizeYan, Zheng1-1/+3
2017-09-06ceph: limit osd read size to CEPH_MSG_MAX_DATA_LENYan, Zheng1-0/+3
2017-07-07ceph: update the 'approaching max_size' codeYan, Zheng1-1/+1
2017-05-24ceph: check that the new inode size is within limits in ceph_fallocate()Luis Henriques1-1/+5
2017-05-10Merge tag 'ceph-for-4.12-rc1' of git://github.com/ceph/ceph-clientLinus Torvalds1-15/+53
2017-05-08treewide: use kv[mz]alloc* rather than opencoded variantsMichal Hocko1-6/+3
2017-05-04ceph: fix file open flags on ppc64Alexander Graf1-1/+33
2017-05-04ceph: when seeing write errors on an inode, switch to sync writesJeff Layton1-13/+18
2017-05-04libceph: allow requests to return immediately on full conditions if caller wi...Jeff Layton1-0/+1
2017-05-04ceph: fix wrong check in ceph_renew_caps()Yan, Zheng1-1/+1
2017-02-24libceph, rbd, ceph: WRITE | ONDISK -> WRITEIlya Dryomov1-11/+4
2017-02-24ceph: remove special ack vs commit behaviorIlya Dryomov1-87/+1
2017-02-20ceph: add a new flag to indicate whether parent is lockedJeff Layton1-1/+2
2017-02-20ceph: avoid calling ceph_renew_caps() infinitelyYan, Zheng1-1/+1
2016-12-16Merge tag 'ceph-for-4.10-rc1' of git://github.com/ceph/ceph-clientLinus Torvalds1-57/+70
2016-12-15Merge branches 'work.namei', 'work.dcache' and 'work.iov_iter' into for-linusAl Viro1-4/+0
2016-12-14libceph: always signal completion when doneIlya Dryomov1-1/+1
2016-12-12ceph: fix splice read for no Fc capability caseYan, Zheng1-54/+66
2016-12-12ceph: try getting buffer capability for readahead/fadviseYan, Zheng1-1/+2
2016-12-12ceph: fix printing wrong return variable in ceph_direct_read_write()Zhi Zhang1-1/+1
2016-11-10ceph: use default file splice read callbackYan, Zheng1-1/+0
2016-10-28ceph: switch to use of ->d_init()Al Viro1-4/+0
2016-10-15ceph: fix error handling in ceph_read_iterNikolay Borisov1-1/+2
2016-10-10Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-2/+2
2016-10-03ceph: ignore error from invalidate_inode_pages2_range() in direct writeNeilBrown1-2/+2