aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dax.c
AgeCommit message (Expand)AuthorFilesLines
2023-11-18fs : Fix warning using plain integer as NULLAbhinav Singh1-1/+1
2023-10-04mm: convert DAX lock/unlock page to lock/unlock folioMatthew Wilcox (Oracle)1-12/+12
2023-08-24mm: remove enum page_entry_sizeMatthew Wilcox (Oracle)1-22/+8
2023-08-24mm: move PMD_ORDER to pgtable.hMatthew Wilcox (Oracle)1-3/+0
2023-06-26dax: enable dax fault handler to report VM_FAULT_HWPOISONJane Chu1-5/+6
2023-06-23fsdax: remove redundant variable 'error'Colin Ian King1-2/+1
2023-04-05fsdax: force clear dirty mark if CoWShiyang Ruan1-0/+37
2023-03-28fsdax: dedupe should compare the min of two iters' lengthShiyang Ruan1-2/+2
2023-03-28fsdax: unshare: zero destination if srcmap is HOLE or UNWRITTENShiyang Ruan1-3/+8
2023-02-03fsdax: dax_unshare_iter() should return a valid lengthShiyang Ruan1-2/+3
2022-12-11fsdax,xfs: port unshare to fsdaxShiyang Ruan1-0/+52
2022-12-11fsdax: dedupe: iter two files at the same timeShiyang Ruan1-8/+8
2022-12-11fsdax,xfs: set the shared flag when file extent is sharedShiyang Ruan1-12/+7
2022-12-11fsdax: zero the edges if source is HOLE or UNWRITTENShiyang Ruan1-30/+49
2022-12-11fsdax: invalidate pages when CoWShiyang Ruan1-4/+13
2022-12-11fsdax: introduce page->share for fsdax in reflink modeShiyang Ruan1-16/+22
2022-09-24Merge branch 'for-6.0/dax' into libnvdimm-fixesDan Williams1-62/+343
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-60/+341
2022-07-26fsdax: Fix infinite loop in dax_iomap_rw()Li Jinlin1-0/+3
2022-07-17fsdax: dedup file range to use a compare functionShiyang Ruan1-0/+82
2022-07-17fsdax: add dax_iomap_cow_copy() for dax zeroShiyang Ruan1-8/+19
2022-07-17fsdax: replace mmap entry in case of CoWShiyang Ruan1-35/+42
2022-07-17fsdax: introduce dax_iomap_cow_copy()Shiyang Ruan1-5/+83
2022-07-17fsdax: output address in dax_iomap_pfn() and rename itShiyang Ruan1-5/+13
2022-07-17fsdax: set a CoW flag when associate reflink mappingsShiyang Ruan1-9/+41
2022-07-17fsdax: introduce dax_lock_mapping_entry()Shiyang Ruan1-0/+63
2022-06-30dax: set did_zero to true when zeroing successfullyKaixu Xia1-2/+2
2022-05-27Merge tag 'libnvdimm-for-5.19' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-5/+17
2022-05-16dax: add .recovery_write dax_operationJane Chu1-1/+12
2022-05-16dax: introduce DAX_RECOVERY_WRITE dax access modeJane Chu1-4/+5
2022-04-28dax: fix missing writeprotect the pte entryMuchun Song1-87/+12
2022-04-28dax: fix cache flush on PMD-mapped pagesMuchun Song1-1/+2
2022-03-24Merge tag 'dax-for-5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/nvd...Linus Torvalds1-1/+1
2022-02-17fsdax: fix function descriptionShiyang Ruan1-1/+1
2022-02-02block: remove genhd.hChristoph Hellwig1-1/+0
2021-12-18dax: remove the copy_from_iter and copy_to_iter methodsChristoph Hellwig1-5/+0
2021-12-04fsdax: shift partition offset handling into the file systemsChristoph Hellwig1-5/+1
2021-12-04iomap: add a IOMAP_DAX flagChristoph Hellwig1-3/+4
2021-12-04fsdax: decouple zeroing from the iomap buffered I/O codeChristoph Hellwig1-14/+63
2021-12-04fsdax: factor out a dax_memzero helperChristoph Hellwig1-17/+19
2021-12-04fsdax: simplify the offset check in dax_iomap_zeroChristoph Hellwig1-3/+1
2021-12-04fsdax: simplify the pgoff calculationChristoph Hellwig1-25/+10
2021-12-04fsdax: use a saner calling convention for copy_cow_page_daxChristoph Hellwig1-16/+13
2021-12-04fsdax: remove a pointless __force cast in copy_cow_page_daxChristoph Hellwig1-1/+1
2021-08-31Merge tag 'iomap-5.15-merge-4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-303/+275
2021-08-16fsdax: switch the fault handlers to use iomap_iterChristoph Hellwig1-118/+75
2021-08-16fsdax: factor out a dax_fault_actor() helperShiyang Ruan1-148/+149
2021-08-16fsdax: factor out helpers to simplify the dax fault codeShiyang Ruan1-69/+84
2021-08-16fsdax: switch dax_iomap_rw to use iomap_iterChristoph Hellwig1-25/+24
2021-08-16fsdax: mark the iomap argument to dax_iomap_sector as constChristoph Hellwig1-1/+1
2021-08-11Merge branch 'for-5.14/dax' into libnvdimm-fixesDan Williams1-1/+1
2021-07-07fs/dax: Clarify nr_pages to dax_direct_access()Ira Weiny1-1/+1
2021-06-29dax: fix ENOMEM handling in grab_mapping_entry()Jan Kara1-1/+2
2021-05-15Merge tag 'dax-fixes-5.13-rc2' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-12/+23
2021-05-07dax: Wake up all waiters after invalidating dax entryVivek Goyal1-1/+1
2021-05-07dax: Add a wakeup mode parameter to put_unlocked_entry()Vivek Goyal1-7/+7
2021-05-07dax: Add an enum for specifying dax wakup modeVivek Goyal1-6/+17
2021-05-05dax: account DAX entries as nrpagesMatthew Wilcox (Oracle)1-3/+3
2021-05-05mm: introduce and use mapping_empty()Matthew Wilcox (Oracle)1-1/+1
2021-02-09mm: provide a saner PTE walking API for modulesPaolo Bonzini1-2/+3
2020-12-15mm: simplify follow_pte{,pmd}Christoph Hellwig1-5/+4
2020-10-19Merge tag 'fuse-update-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-6/+23
2020-09-21iomap: Change calling convention for zeroingMatthew Wilcox (Oracle)1-7/+6
2020-09-10dax: Create a range version of dax_layout_busy_page()Vivek Goyal1-6/+23
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-07-30dax: Fix incorrect argument passed to xas_set_err()Hao Li1-1/+1
2020-07-28fs/dax: Remove unused size parameterIra Weiny1-7/+6
2020-04-02dax,iomap: Add helper dax_iomap_zero() to zero a rangeVivek Goyal1-8/+8
2020-04-02dax: Use new dax zero page method for zeroing a pageVivek Goyal1-30/+23
2020-02-05dax: pass NOWAIT flag to iomap_applyJeff Moyer1-0/+3
2020-01-03dax: Pass dax_dev instead of bdev to dax_writeback_mapping_range()Vivek Goyal1-7/+1
2019-11-30Merge tag 'iomap-5.5-merge-11' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-5/+8
2019-10-22fs/dax: Fix pmd vs pte conflict detectionDan Williams1-2/+3
2019-10-21iomap: use a srcmap for a read-modify-write I/OGoldwyn Rodrigues1-5/+8
2019-08-05dax: dax_layout_busy_page() should not unmap cow pagesVivek Goyal1-1/+1
2019-07-29dax: Fix missed wakeup in put_unlocked_entry()Jan Kara1-1/+1
2019-07-19Merge tag 'iomap-5.3-merge-4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-1/+0
2019-07-18Merge tag 'dax-for-5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdi...Linus Torvalds1-20/+33
2019-07-17iomap: move internal declarations into fs/iomap/Darrick J. Wong1-1/+0
2019-07-16dax: Fix missed wakeup with PMD faultsMatthew Wilcox (Oracle)1-20/+33
2019-07-08Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-1/+1
2019-07-05Merge tag 'dax-fix-5.2-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-5/+4
2019-06-17locking/lockdep: Rename lockdep_assert_held_exclusive() -> lockdep_assert_hel...Nikolay Borisov1-1/+1
2019-06-06dax: Fix xarray entry association for mixed mappingsJan Kara1-5/+4
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288Thomas Gleixner1-9/+1
2019-05-14mm: page_mkclean vs MADV_DONTNEED raceAneesh Kumar K.V1-1/+1
2019-05-14mm/huge_memory: fix vmf_insert_pfn_{pmd, pud}() crash, handle unaligned addre...Dan Williams1-4/+2
2019-03-13fs/dax: Deposit pagetable even when installing zero pageAneesh Kumar K.V1-0/+15
2019-03-01dax: Flush partial PMDs correctlyMatthew Wilcox1-10/+9
2019-02-12fs/dax: NIT fix comment regarding start/end vs rangeIra Weiny1-1/+1
2019-02-12fs/dax: Convert to use vmf_error()Souptick Joarder1-3/+1
2018-12-31Merge tag 'dax-fix-4.21' of git://git.kernel.org/pub/scm/linux/kernel/git/nvd...Linus Torvalds1-9/+7
2018-12-28mm/mmu_notifier: use structure for invalidate_range_start/end calls v2Jérôme Glisse1-3/+5
2018-12-21dax: Use non-exclusive wait in wait_entry_unlocked()Dan Williams1-9/+7
2018-12-04dax: Fix unlock mismatch with updated APIMatthew Wilcox1-13/+8
2018-11-28dax: Don't access a freed inodeMatthew Wilcox1-3/+29
2018-11-28dax: Check page->mapping isn't NULLMatthew Wilcox1-1/+1
2018-11-19dax: Avoid losing wakeup in dax_lock_mapping_entryMatthew Wilcox1-0/+1
2018-11-17dax: Fix huge page faultsMatthew Wilcox1-8/+4
2018-11-17dax: Fix dax_unlock_mapping_entry for PMD pagesMatthew Wilcox1-9/+8
2018-11-16dax: Reinstate RCU protection of inodeMatthew Wilcox1-3/+19
2018-11-16dax: Make sure the unlocking entry isn't lockedMatthew Wilcox1-0/+1
2018-11-16dax: Remove optimisation from dax_lock_mapping_entryMatthew Wilcox1-5/+2
2018-10-21dax: Convert page fault handlers to XArrayMatthew Wilcox1-301/+128
2018-10-21dax: Convert dax_lock_mapping_entry to XArrayMatthew Wilcox1-48/+35
2018-10-21dax: Convert dax writeback to XArrayMatthew Wilcox1-68/+62
2018-10-21dax: Convert __dax_invalidate_entry to XArrayMatthew Wilcox1-8/+9
2018-10-21dax: Convert dax_layout_busy_page to XArrayMatthew Wilcox1-43/+21
2018-10-21dax: Convert dax_insert_pfn_mkwrite to XArrayMatthew Wilcox1-32/+117
2018-10-21dax: Hash on XArray instead of mappingMatthew Wilcox1-14/+15
2018-10-21dax: Rename some functionsMatthew Wilcox1-44/+42
2018-09-29xarray: Replace exceptional entriesMatthew Wilcox1-57/+55
2018-09-11filesystem-dax: Fix use of zero pageMatthew Wilcox1-11/+2
2018-08-25Merge tag 'libnvdimm-for-4.19_dax-memory-failure' of gitolite.kernel.org:pub/...Linus Torvalds1-9/+116
2018-08-25Merge tag 'libnvdimm-for-4.19_misc' of gitolite.kernel.org:pub/scm/linux/kern...Linus Torvalds1-9/+4
2018-07-30filesystem-dax: Do not request kaddr and pfn when not requiredHuaisheng Ye1-9/+4
2018-07-29dax: dax_layout_busy_page() warn on !exceptionalRoss Zwisler1-1/+9
2018-07-23filesystem-dax: Introduce dax_lock_mapping_entry()Dan Williams1-6/+103
2018-07-20filesystem-dax: Set page->indexDan Williams1-3/+13
2018-06-08Merge tag 'libnvdimm-for-4.18' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-25/+111
2018-06-08Merge branch 'for-4.18/mcsafe' into libnvdimm-for-nextDan Williams1-9/+12
2018-06-07fs/dax.c: use new return type vm_fault_tSouptick Joarder1-41/+37
2018-06-02dax: dax_insert_mapping_entry always succeedsMatthew Wilcox1-16/+2
2018-05-22dax: Report bytes remaining in dax_iomap_actor()Dan Williams1-9/+11
2018-05-22dax: Introduce a ->copy_to_iter dax operationDan Williams1-1/+2
2018-05-22mm, fs, dax: handle layout changes to pinned dax mappingsDan Williams1-0/+97
2018-04-16Merge branch 'mm-rst' into docs-nextJonathan Corbet1-1/+1
2018-04-16docs/vm: rename documentation files to .rstMike Rapoport1-1/+1
2018-04-11page cache: use xa_lockMatthew Wilcox1-64/+60
2018-04-03fs, dax: use page->mapping to warn if truncate collides with a busy pageDan Williams1-0/+63
2018-03-30dax: store pfns in the radixDan Williams1-52/+31
2018-02-03Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-3/+6
2018-01-31mm: add unmap_mapping_pages()Matthew Wilcox1-13/+6
2018-01-31fs/dax.c: release PMD lock even when there is no PMD support in DAXJan H. Schönherr1-1/+1
2018-01-07dax: pass detailed error code from dax_iomap_fault()Jan Kara1-3/+6
2017-12-15Revert "mm: replace p??_write with pte_access_permitted in fault + gup paths"Linus Torvalds1-2/+1
2017-11-29mm: replace pmd_write with pmd_access_permitted in fault + gup pathsDan Williams1-1/+2
2017-11-17Merge tag 'libnvdimm-for-4.15' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-100/+219
2017-11-15mm, pagevec: remove cold parameter for pagevecsMel Gorman1-1/+1
2017-11-15mm, truncate: do not check mapping for every page being truncatedMel Gorman1-1/+1
2017-11-15mm/mmu_notifier: avoid double notification when it is uselessJérôme Glisse1-2/+7
2017-11-14dax: fix PMD faults on zero-length filesJeff Moyer1-3/+3
2017-11-13fs, dax: unify IOMAP_F_DIRTY read vs write handling policy in the dax coreDan Williams1-2/+13
2017-11-03dax: Implement dax_finish_sync_fault()Jan Kara1-0/+83
2017-11-03dax, iomap: Add support for synchronous faultsJan Kara1-2/+37
2017-11-03dax: Allow tuning whether dax_insert_mapping_entry() dirties entryJan Kara1-7/+7
2017-11-03dax: Allow dax_iomap_fault() to return pfnJan Kara1-6/+7
2017-11-03dax: Fix comment describing dax_iomap_fault()Jan Kara1-1/+2
2017-11-03dax: Inline dax_pmd_insert_mapping() into the callsiteJan Kara1-28/+19
2017-11-03dax: Inline dax_insert_mapping() into the callsiteJan Kara1-27/+19
2017-11-03dax: Create local variable for vmf->flags & FAULT_FLAG_WRITE testJan Kara1-2/+3
2017-11-03dax: Create local variable for VMA in dax_iomap_pte_fault()Jan Kara1-2/+3
2017-11-03dax: Factor out getting of pfn out of iomapJan Kara1-40/+43
2017-11-03dax: Simplify arguments of dax_insert_mapping()Jan Kara1-16/+16
2017-10-01iomap: Switch from blkno to disk offsetAndreas Gruenbacher1-1/+1
2017-09-14Merge tag 'for-4.14/dm-changes' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-2/+2
2017-09-11dax: remove the pmem_dax_ops->flush abstractionMikulas Patocka1-2/+2
2017-09-06dax: initialize variable pfn before using itNicolas Iooss1-1/+1
2017-09-06dax: use PG_PMD_COLOUR instead of open codingRoss Zwisler1-7/+4
2017-09-06dax: explain how read(2)/write(2) addresses are validatedRoss Zwisler1-0/+5
2017-09-06dax: move all DAX radix tree defs to fs/dax.cRoss Zwisler1-0/+34
2017-09-06dax: remove DAX code from page_cache_tree_insert()Ross Zwisler1-1/+1
2017-09-06dax: use common 4k zero page for dax mmap readsRoss Zwisler1-167/+76
2017-09-06dax: relocate some dax functionsRoss Zwisler1-69/+69
2017-08-31dax: update to new mmu_notifier semanticJérôme Glisse1-8/+11
2017-08-25dax: fix deadlock due to misaligned PMD faultsRoss Zwisler1-0/+10
2017-07-07Merge tag 'for-linus-v4.13-2' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+3
2017-07-07Merge tag 'libnvdimm-for-4.13' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-4/+5
2017-07-06mm: per-cgroup memory reclaim statsRoman Gushchin1-1/+1
2017-07-06dax: set errors in mapping when writeback failsJeff Layton1-1/+3
2017-06-27x86, libnvdimm, pmem: remove global pmem apiDan Williams1-1/+0
2017-06-24Merge branch 'linus' into sched/core, to pick up fixesIngo Molnar1-0/+1
2017-06-23fs/dax.c: fix inefficiency in dax_writeback_mapping_range()Jan Kara1-0/+1
2017-06-20sched/wait: Rename wait_queue_t => wait_queue_entry_tIngo Molnar1-2/+2
2017-06-15x86, dax: replace clear_pmem() with open coded memset + dax_ops->flushDan Williams1-1/+2
2017-06-15filesystem-dax: convert to dax_flush()Dan Williams1-1/+1
2017-06-15filesystem-dax: convert to dax_copy_from_iter()Dan Williams1-1/+2
2017-06-02dax: fix race between colliding PMD & PTE entriesRoss Zwisler1-0/+23
2017-05-13Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-60/+31
2017-05-12dax: fix PMD data corruption when fault races with writeRoss Zwisler1-14/+14
2017-05-12dax: fix data corruption when fault races with writeJan Kara1-16/+16
2017-05-12mm: fix data corruption due to stale mmap readsJan Kara1-1/+1
2017-05-12dax: prevent invalidation of mapped DAX entriesRoss Zwisler1-29/+0
2017-05-12Merge branch 'libnvdimm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+2
2017-05-10filesystem-dax: fix broken __dax_zero_page_range() conversionDan Williams1-2/+2
2017-05-08dax: add tracepoint to dax_insert_mapping()Ross Zwisler1-0/+1
2017-05-08dax: add tracepoint to dax_writeback_one()Ross Zwisler1-0/+1
2017-05-08dax: add tracepoints to dax_writeback_mapping_range()Ross Zwisler1-5/+7
2017-05-08dax: add tracepoints to dax_load_hole()Ross Zwisler1-5/+11
2017-05-08dax: add tracepoints to dax_pfn_mkwrite()Ross Zwisler1-0/+3
2017-05-08dax: add tracepoints to dax_iomap_pte_fault()Ross Zwisler1-4/+11
2017-05-05Merge tag 'libnvdimm-for-4.12' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-141/+156
2017-05-01Merge branch 'for-4.12/block' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2017-04-25filesystem-dax: convert to dax_direct_access()Dan Williams1-121/+156
2017-04-25Revert "block: use DAX for partition table reads"Dan Williams1-20/+0
2017-04-08block: add a flags argument to (__)blkdev_issue_zerooutChristoph Hellwig1-1/+1
2017-04-08dax: fix radix tree insertion raceRoss Zwisler1-13/+22
2017-03-02sched/headers: Prepare for the reduction of <linux/sched.h>'s signal API depe...Ingo Molnar1-0/+1
2017-02-27mm,fs,dax: mark dax_iomap_pmd_fault as constArnd Bergmann1-1/+2
2017-02-24mm: replace FAULT_FLAG_SIZE with parameter to huge_faultDave Jiang1-4/+5