aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/file.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-05gfs2: adapt to breakup of struct file_lockJeff Layton1-6/+5
2024-02-05filelock: split common fields into struct file_lock_coreJeff Layton1-0/+1
2024-02-05gfs2: convert to using new filelock helpersJeff Layton1-4/+4
2023-12-20gfs2: Rename gfs2_withdrawn to gfs2_withdrawing_or_withdrawnAndreas Gruenbacher1-1/+1
2023-12-20gfs2: Mark withdraws as unlikelyAndreas Gruenbacher1-1/+1
2023-11-02gfs2: Clean up gfs2_alloc_parms initializersAndreas Gruenbacher1-2/+2
2023-09-22gfs2: Don't update inode timestamps for direct writesAndreas Gruenbacher1-4/+10
2023-08-31Merge tag 'dlm-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland...Linus Torvalds1-6/+3
2023-08-29Merge tag 'for-6.6/block-2023-08-28' of git://git.kernel.dk/linuxLinus Torvalds1-8/+8
2023-08-28Merge tag 'v6.6-vfs.ctime' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-1/+1
2023-08-07gfs2: Don't use filemap_splice_readBob Peterson1-2/+2
2023-08-02fs: rename and move block_page_mkwrite_returnChristoph Hellwig1-8/+8
2023-07-24gfs2: convert to ctime accessor functionsJeff Layton1-1/+1
2023-07-20fs: dlm: fix F_CANCELLK to cancel pending requestAlexander Aring1-6/+3
2023-07-04Merge tag 'gfs2-v6.4-rc5-fixes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+4
2023-06-28Merge tag 'mm-stable-2023-06-24-19-15' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-5/+1
2023-06-26Merge tag 'for-6.5/splice-2023-06-23' of git://git.kernel.dk/linuxLinus Torvalds1-2/+2
2023-06-12gfs2: Fix duplicate should_fault_in_pages() callBob Peterson1-1/+1
2023-06-12gfs2: set FMODE_CAN_ODIRECT instead of a dummy direct_IO methodChristoph Hellwig1-0/+3
2023-06-09iomap: update ki_pos in iomap_file_buffered_writeChristoph Hellwig1-3/+1
2023-06-09backing_dev: remove current->backing_dev_infoChristoph Hellwig1-2/+0
2023-06-01gfs2: Don't get stuck writing page onto itself under direct I/OAndreas Gruenbacher1-3/+14
2023-05-24splice: Use filemap_splice_read() instead of generic_file_splice_read()David Howells1-2/+2
2023-02-20Merge tag 'fs.idmapped.v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-2/+2
2023-01-19fs: port ->permission() to pass mnt_idmapChristian Brauner1-1/+1
2023-01-19fs: port ->fileattr_set() to pass mnt_idmapChristian Brauner1-1/+1
2023-01-11filelock: move file locking definitions to separate header fileJeff Layton1-0/+1
2022-12-06gfs2: Make gfs2_glock_hold return its glock argumentAndreas Gruenbacher1-2/+1
2022-10-09gfs2: Merge branch 'for-next.nopid' into for-nextAndreas Gruenbacher1-4/+25
2022-08-08Merge tag 'pull-work.iov_iter-rebased' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2022-08-08new iov_iter flavour - ITER_UBUFAl Viro1-1/+1
2022-06-29gfs2: Mark flock glock holders as GL_NOPIDAndreas Gruenbacher1-2/+5
2022-06-29gfs2: Add flocks to glockfd debugfs fileAndreas Gruenbacher1-2/+20
2022-06-03gfs2: Remove redundant NULL check before kfreeMinghao Chi1-2/+1
2022-05-24Merge tag 'gfs2-v5.18-rc6-fixes' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+4
2022-05-24gfs2: Explain some direct I/O odditiesAndreas Gruenbacher1-0/+4
2022-05-16iomap: add per-iomap_iter private dataChristoph Hellwig1-2/+2
2022-05-13gfs2: Stop using glock holder auto-demotion for nowAndreas Gruenbacher1-32/+14
2022-05-13gfs2: buffered write prefaultingAndreas Gruenbacher1-12/+16
2022-05-13gfs2: Align read and write chunks to the page cacheAndreas Gruenbacher1-8/+7
2022-05-13gfs2: Pull return value test out of should_fault_in_pagesAndreas Gruenbacher1-12/+22
2022-05-13gfs2: Clean up use of fault_in_iov_iter_{read,write}ableAndreas Gruenbacher1-17/+9
2022-05-13gfs2: Variable renameAndreas Gruenbacher1-17/+17
2022-04-28gfs2: No short reads or writes upon glock contentionAndreas Gruenbacher1-4/+0
2022-04-26gfs2: Don't re-check for write past EOF unnecessarilyAndreas Gruenbacher1-1/+1
2022-03-24gfs2: Make sure not to return short direct writesAndreas Gruenbacher1-1/+1
2022-03-24gfs2: Remove dead code in gfs2_file_read_iterAndreas Gruenbacher1-6/+3
2022-03-24gfs2: Fix gfs2_file_buffered_write endless loop workaroundAndreas Gruenbacher1-0/+1
2022-03-23gfs2: Minor retry logic cleanupAndreas Gruenbacher1-18/+16
2022-03-23gfs2: Disable page faults during lockless buffered readsAndreas Gruenbacher1-1/+3
2022-03-23gfs2: Fix should_fault_in_pages() logicAndreas Gruenbacher1-8/+9
2022-02-15gfs2: Initialize gh_error in gfs2_glock_nqAndreas Gruenbacher1-1/+0
2022-02-15gfs2: gfs2_setattr_size error path fixAndreas Gruenbacher1-1/+1
2022-02-11gfs2: Fix gfs2_release for non-writers regressionBob Peterson1-3/+4
2021-11-10gfs2: Prevent endless loops in gfs2_file_buffered_writeAndreas Gruenbacher1-0/+3
2021-11-03gfs2: Only dereference i->iov when iter_is_iovec(i)Andreas Gruenbacher1-3/+3
2021-11-02Merge tag 'gfs2-v5.15-rc5-fixes' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-9/+2
2021-11-02Merge tag 'gfs2-v5.15-rc5-mmap-fault' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-23/+229
2021-11-01Merge tag 'for-5.16/block-2021-10-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+2
2021-10-25gfs2: Fix unused value warning in do_gfs2_set_flags()Tim Gardner1-1/+0
2021-10-25gfs2: Allow append and immutable bits to coexistBob Peterson1-8/+2
2021-10-25gfs2: Fix mmap + page fault deadlocks for direct I/OAndreas Gruenbacher1-12/+87
2021-10-24iomap: Add done_before argument to iomap_dio_rwAndreas Gruenbacher1-2/+2
2021-10-24gfs2: Fix mmap + page fault deadlocks for buffered I/OAndreas Gruenbacher1-5/+94
2021-10-20gfs2: Eliminate ip->i_ghAndreas Gruenbacher1-13/+21
2021-10-20gfs2: Move the inode glock locking to gfs2_file_buffered_writeAndreas Gruenbacher1-0/+27
2021-10-20gfs2: Add wrapper for iomap_file_buffered_writeAndreas Gruenbacher1-10/+17
2021-10-18block: switch polling to be bio basedChristoph Hellwig1-2/+2
2021-09-10locks: remove LOCK_MAND flock lock supportJeff Layton1-2/+0
2021-08-23fs: remove mandatory file locking supportJeff Layton1-3/+0
2021-06-29gfs2: Clean up gfs2_unstuff_dinodeAndreas Gruenbacher1-2/+2
2021-06-29gfs2: Unstuff before locking page in gfs2_page_mkwriteAndreas Gruenbacher1-10/+12
2021-06-29gfs2: Clean up the error handling in gfs2_page_mkwriteAndreas Gruenbacher1-23/+40
2021-06-28gfs2: Fix underflow in gfs2_page_mkwriteAndreas Gruenbacher1-2/+2
2021-06-28gfs2: Fix do_gfs2_set_flags descriptionAndreas Gruenbacher1-1/+1
2021-06-01Revert "gfs2: Fix mmap locking for write faults"Andreas Gruenbacher1-3/+1
2021-05-21gfs2: Fix mmap locking for write faultsAndreas Gruenbacher1-1/+3
2021-05-20gfs2: Prevent direct-I/O write fallback errors from getting lostAndreas Gruenbacher1-1/+4
2021-04-29Merge tag 'gfs2-for-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/gf...Linus Torvalds1-7/+5
2021-04-12gfs2: convert to fileattrMiklos Szeredi1-43/+20
2021-04-09gfs2: Fix a number of kernel-doc warningsLee Jones1-4/+3
2021-04-03gfs2: Add new gfs2_iomap_get helperAndreas Gruenbacher1-3/+2
2021-02-23Merge tag 'gfs2-for-5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/gf...Linus Torvalds1-4/+4
2021-02-23Merge tag 'idmapped-mounts-v5.12' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+2
2021-02-22Merge tag 'lazytime_for_v5.12-rc1' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-2/+2
2021-02-17gfs2: Add per-reservation reserved block accountingAndreas Gruenbacher1-2/+2
2021-02-17gfs2: Check for active reservation in gfs2_releaseAndreas Gruenbacher1-2/+2
2021-01-24fs: make helpers idmap mount awareChristian Brauner1-1/+1
2021-01-24inode: make init and permission helpers idmapped mount awareChristian Brauner1-1/+1
2021-01-23iomap: pass a flags argument to iomap_dio_rwChristoph Hellwig1-5/+2
2021-01-13gfs2: don't worry about I_DIRTY_TIME in gfs2_fsync()Eric Biggers1-2/+2
2020-08-10Merge tag 'gfs2-for-5.9' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs...Linus Torvalds1-16/+15
2020-08-06Merge tag 'iomap-5.9-merge-5' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-1/+2
2020-08-05iomap: fall back to buffered writes for invalidation failuresChristoph Hellwig1-1/+2
2020-08-03gfs2: Pass glock holder to gfs2_file_direct_{read,write}Andreas Gruenbacher1-16/+15
2020-07-07gfs2: Rework read and page fault lockingAndreas Gruenbacher1-2/+50
2020-03-27gfs2: Remove unnecessary gfs2_qa_{get,put} pairsAndreas Gruenbacher1-27/+1
2020-03-27gfs2: Split gfs2_rsqa_delete into gfs2_rs_delete and gfs2_qa_putAndreas Gruenbacher1-2/+4
2020-03-27gfs2: Change inode qa_data to allow multiple usersBob Peterson1-10/+25
2020-03-27gfs2: eliminate gfs2_rsqa_alloc in favor of gfs2_qa_allocBob Peterson1-4/+4
2020-02-06gfs2: fix O_SYNC write handlingAndreas Gruenbacher1-30/+21
2020-02-06gfs2: move setting current->backing_dev_infoChristoph Hellwig1-11/+10
2019-12-05Merge tag 'gfs2-for-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs...Linus Torvalds1-21/+35
2019-12-01Merge tag 'compat-ioctl-5.5' of git://git.kernel.org:/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+30
2019-11-14gfs2: Introduce function gfs2_withdrawnBob Peterson1-1/+1
2019-11-07gfs2: Fix end-of-file handling in gfs2_page_mkwriteAndreas Gruenbacher1-14/+26
2019-11-07gfs2: Multi-block allocations in gfs2_page_mkwriteAndreas Gruenbacher1-7/+8
2019-10-30gfs2: Some whitespace cleanupsAndreas Gruenbacher1-0/+1
2019-10-23gfs2: add compat_ioctl supportArnd Bergmann1-0/+30
2019-10-15iomap: Allow forcing of waiting for running DIO in iomap_dio_rw()Jan Kara1-2/+4
2019-09-04gfs2: Minor PAGE_SIZE arithmetic cleanupsAndreas Gruenbacher1-1/+1
2019-09-03gfs2: Always mark inode dirty in fallocateAndreas Gruenbacher1-4/+3
2019-07-12Merge tag 'vfs-fix-ioctl-checking-3' of git://git.kernel.org/pub/scm/fs/xfs/x...Linus Torvalds1-13/+29
2019-07-03gfs2: don't use buffer_heads in gfs2_allocate_page_backingChristoph Hellwig1-17/+16
2019-07-03gfs2: use page_offset in gfs2_page_mkwriteChristoph Hellwig1-1/+1
2019-07-01vfs: create a generic checking and prep function for FS_IOC_SETFLAGSDarrick J. Wong1-13/+29
2019-06-27gfs2: Rename SDF_SHUTDOWN to SDF_WITHDRAWNBob Peterson1-1/+1
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 398Thomas Gleixner1-4/+1
2019-02-24iomap: wire up the iopoll methodChristoph Hellwig1-0/+2
2018-11-30gfs2: properly initial file_lock used for unlock.NeilBrown1-5/+5
2018-10-12gfs2: Move rs_{sizehint, rgd_gh} fields into the inodeAndreas Gruenbacher1-2/+2
2018-10-09gfs2: getlabel supportSteve Whitehouse1-0/+14
2018-07-25gfs2: Use iomap for stuffed direct I/O readsAndreas Gruenbacher1-6/+0
2018-07-25gfs2: fallocate_chunk: Always initialize struct iomapAndreas Gruenbacher1-1/+2
2018-07-24Merge branch 'iomap-write' into linux-gfs2/for-nextAndreas Gruenbacher1-9/+153
2018-07-24fs: gfs2: Adding new return type vm_fault_tSouptick Joarder1-1/+1
2018-07-02gfs2: iomap direct I/O supportAndreas Gruenbacher1-10/+122
2018-07-02gfs2: iomap buffered write supportAndreas Gruenbacher1-6/+38
2018-07-02gfs2: Further iomap cleanupsAndreas Gruenbacher1-1/+1
2018-06-04gfs2: Iomap cleanups and improvementsAndreas Gruenbacher1-3/+3
2018-03-29gfs2: Zero out fallocated blocks in fallocate_chunkAndreas Gruenbacher1-15/+14
2018-03-08gfs2: Fix fallocate chunk sizeAndreas Gruenbacher1-2/+3
2018-01-23GFS2: Log the reason for log flushes in every log headerBob Peterson1-1/+2
2018-01-23GFS2: Introduce new gfs2_log_header_v2Bob Peterson1-1/+2
2018-01-18gfs2: Implement fallocate(FALLOC_FL_PUNCH_HOLE)Andreas Gruenbacher1-7/+12
2017-10-31gfs2: Fix and clean up {GET,SET}FLAGS ioctlAndreas Gruenbacher1-55/+47
2017-10-31GFS2: Take inode off order_write list when setting jdata flagBob Peterson1-1/+3
2017-10-31gfs2: Implement SEEK_HOLE / SEEK_DATA via iomapAndreas Gruenbacher1-3/+14
2017-09-25gfs2: Update ctime in setflags ioctlAndreas Gruenbacher1-0/+1
2017-09-06Merge tag 'wberr-v4.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/jl...Linus Torvalds1-2/+4
2017-08-01gfs2: convert to errseq_t based writeback error reporting for fsyncJeff Layton1-2/+4
2017-07-17gfs2: Lock holder cleanup (fixup)Andreas Gruenbacher1-2/+1
2017-04-05gfs2: Re-enable fallocate for the rindexAndrew Price1-1/+5
2017-02-24mm, fs: reduce fault, page_mkwrite, and pfn_mkwrite to take only vmfDave Jiang1-4/+4
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-10-07Merge branch 'work.splice_read' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-26/+2
2016-10-05switch generic_file_splice_read() to use of ->read_iter()Al Viro1-26/+2
2016-09-26gfs2: Update file times after grabbing glockAndreas Gruenbacher1-3/+3
2016-06-27gfs2: Lock holder cleanupAndreas Gruenbacher1-1/+1
2016-05-20Merge tag 'gfs2-4.7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/g...Linus Torvalds1-3/+28
2016-05-17Merge branch 'work.preadv2' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+4
2016-05-12gfs2: switch to ->iterate_shared()Al Viro1-2/+2
2016-05-02gfs2: use inode_lock/unlock instead of accessing i_mutex directlyAbhi Das1-3/+3
2016-05-01fs: add IOCB_SYNC and IOCB_DSYNCChristoph Hellwig1-1/+4
2016-04-19GFS2: Add calls to gfs2_holder_uninit in two error handlersDaniel DeFreez1-1/+2
2016-04-05gfs2: Use gfs2 wrapper to sync inode before calling generic_file_splice_read()Abhi Das1-2/+26
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-8/+8
2016-01-22wrappers for ->i_mutex accessAl Viro1-2/+2
2015-12-22gfs2: fix flock panic issueJunxiao Bi1-1/+4
2015-12-14GFS2: Reduce size of incore inodeBob Peterson1-1/+1
2015-12-14GFS2: Make rgrp reservations part of the gfs2_inode structureBob Peterson1-10/+5
2015-11-24GFS2: Extract quota data from reservations structure (revert 5407e24)Bob Peterson1-5/+5
2015-11-10gfs2: Automatically set GFS2_DIF_SYSTEM flag on system filesAbhi Das1-2/+2
2015-11-09Merge tag 'gfs2-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2015-10-22Move locks API users to locks_lock_inode_wait()Benjamin Coddington1-4/+4
2015-09-22GFS2: fallocate: do not rely on file_update_time to mark the inode dirtyAndrew Price1-1/+1
2015-06-27Merge tag 'gfs2-merge-window' of git://git.kernel.org:/pub/scm/linux/kernel/g...Linus Torvalds1-2/+2
2015-06-09gfs2: Don't support fallocate on jdata filesAbhi Das1-1/+1
2015-05-05GFS2: make sure S_NOSEC flag isn't overwrittenBenjamin Marzinski1-1/+1
2015-04-16Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2015-04-15Merge branch 'for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-4/+0
2015-04-14Merge tag 'gfs2-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-30/+71
2015-04-11mirror O_APPEND and O_DIRECT into iocb->ki_flagsAl Viro1-1/+1
2015-04-11make new_sync_{read,write}() staticAl Viro1-4/+0
2015-03-25fs: move struct kiocb to fs.hChristoph Hellwig1-1/+0
2015-03-18gfs2: allow fallocate to max out quotas/fs efficientlyAbhi Das1-23/+47
2015-03-18gfs2: perform quota checks against allocation parametersAbhi Das1-7/+8
2015-03-18GFS2: Move gfs2_file_splice_write outside of #ifdefBob Peterson1-16/+16
2015-03-18GFS2: Allocate reservation during splice_writeBob Peterson1-2/+18
2015-02-17Merge branch 'lazytime' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-2/+2
2015-02-10mm: drop vm_ops->remap_pages and generic_file_remap_pages() stubKirill A. Shutemov1-1/+0
2015-02-05vfs: add support for a lazytime mount optionTheodore Ts'o1-2/+2
2014-11-14GFS2: Update timestamps on fallocateAndrew Price1-1/+2
2014-11-14GFS2: Update i_size properly on fallocateAndrew Price1-9/+6
2014-11-14GFS2: Use inode_newsize_ok and get_write_access in fallocateAndrew Price1-22/+44
2014-11-03GFS2: Only increase rs_sizehintBob Peterson1-1/+2
2014-10-11Merge tag 'locks-v3.18-1' of git://git.samba.org/jlayton/linuxLinus Torvalds1-21/+1
2014-09-09locks: consolidate "nolease" routinesJeff Layton1-21/+1
2014-08-21GFS2: Request demote when a "try" flock failsBob Peterson1-3/+12
2014-07-18GFS2: Allow caching of glocks for flockBob Peterson1-1/+1
2014-07-18GFS2: Allow flocks to use normal glock dq rather than dq_waitBob Peterson1-1/+1
2014-06-12Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-16/+14
2014-06-12->splice_write() via ->write_iter()Al Viro1-2/+2
2014-05-16GFS2: fs/gfs2/file.c: kernel-doc warning fixesFabian Frederick1-5/+5
2014-05-14GFS2: remove transaction glockBenjamin Marzinski1-1/+1
2014-05-06gfs2: switch to ->write_iter()Al Viro1-10/+8
2014-05-06switch simple generic_file_aio_read() users to ->read_iter()Al Viro1-4/+4
2014-04-07mm: implement ->map_pages for page cacheKirill A. Shutemov1-0/+1
2014-02-06GFS2: Lock i_mutex and use a local gfs2_holder for fallocateBob Peterson1-4/+9
2013-10-02GFS2: Add allocation parameters structureSteven Whitehouse1-2/+6