aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/super.c
AgeCommit message (Expand)AuthorFilesLines
10 daysbtrfs: remaining BTRFS_PATH_AUTO_FREE conversionsDavid Sterba1-7/+3
10 daysbtrfs: apply the AUTO_K(V)FREE macros throughout the codeMiquel Sabaté Solà1-2/+1
10 daysbtrfs: implement remove_bdev and shutdown super operation callbacksQu Wenruo1-0/+64
2025-10-17btrfs: directly free partially initialized fs_info in btrfs_check_leaked_roots()Dewei Meng1-1/+7
2025-10-13btrfs: only set the device specific options after devices are openedQu Wenruo1-2/+1
2025-09-23btrfs: add unlikely annotations to branches leading to EUCLEANDavid Sterba1-3/+3
2025-09-23btrfs: more trivial BTRFS_PATH_AUTO_FREE conversionsSun YangKai1-4/+1
2025-09-23btrfs: fix typos in comments and stringsDavid Sterba1-1/+1
2025-09-22btrfs: add mount option for ref_trackerLeo Martins1-0/+7
2025-09-22btrfs: move ref-verify under CONFIG_BTRFS_DEBUGLeo Martins1-9/+0
2025-09-22btrfs: use PTR_ERR_OR_ZERO() to simplify code inbtrfs_control_ioctl()Xichao Zhao1-4/+1
2025-09-20Merge tag 'for-6.17-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-8/+19
2025-09-18btrfs: reject invalid compression levelQu Wenruo1-8/+19
2025-09-11Merge tag 'for-6.17-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-3/+6
2025-09-02btrfs: accept and ignore compression level for lzoCalvin Owens1-3/+6
2025-08-18Merge tag 'for-6.17-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-5/+8
2025-08-13btrfs: fix printing of mount info messages for NODATACOW/NODATASUMKyoji Ogasawara1-1/+2
2025-08-13btrfs: restore mount option info messages during mountKyoji Ogasawara1-3/+5
2025-08-13btrfs: fix incorrect log message for nobarrier mount optionKyoji Ogasawara1-1/+1
2025-07-28Merge tag 'pull-dcache' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-1/+1
2025-07-22btrfs: restrict writes to opened btrfs devicesQu Wenruo1-7/+1
2025-07-22btrfs: use the super_block as holder when mounting file systemsChristoph Hellwig1-2/+1
2025-07-22btrfs: delay btrfs_open_devices() until super block is createdQu Wenruo1-13/+45
2025-07-22btrfs: call btrfs_close_devices() from ->kill_sbChristoph Hellwig1-19/+8
2025-07-22btrfs: add assertions to make super block creation more clearQu Wenruo1-9/+20
2025-07-22btrfs: get rid of re-entering of btrfs_get_tree()Qu Wenruo1-24/+3
2025-07-22btrfs: always open the device read-only in btrfs_scan_one_device()Christoph Hellwig1-5/+4
2025-07-21btrfs: open code fc_mount() to avoid releasing s_umount rw_sempahoreAl Viro1-17/+17
2025-07-21btrfs: rename err to ret in btrfs_fill_super()David Sterba1-12/+12
2025-07-21btrfs: harden parsing of compression mount optionsDaniel Vacek1-7/+18
2025-07-21btrfs: factor out compression mount options parsingDaniel Vacek1-46/+51
2025-06-10new helper: set_default_d_op()Al Viro1-1/+1
2025-05-16btrfs: remove standalone "nologreplay" mount optionQu Wenruo1-8/+0
2025-05-15btrfs: merge btrfs_read_dev_one_super() into btrfs_read_disk_super()Qu Wenruo1-1/+1
2025-05-15btrfs: trivial conversion to return bool instead of intDavid Sterba1-3/+3
2025-05-15btrfs: rename remaining exported extent map functionsFilipe Manana1-2/+2
2025-05-15btrfs: rename remaining exported functions from extent-io-tree.hFilipe Manana1-2/+2
2025-05-12btrfs: add back warning for mount option commit values exceeding 300Kyoji Ogasawara1-0/+4
2025-04-01btrfs: correctly escape subvol in btrfs_show_options()Johannes Kimmel1-2/+1
2025-03-18btrfs: make btrfs_iget() return a btrfs inode insteadFilipe Manana1-2/+2
2025-03-18btrfs: zstd: enable negative compression levels mount optionDaniel Vacek1-1/+1
2025-01-23Merge tag 'fsnotify_hsm_for_v6.14-rc1' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2025-01-13btrfs: print read policy on module loadAnand Jain1-0/+10
2025-01-13btrfs: configure read policy via module parameterAnand Jain1-0/+5
2025-01-13btrfs: print status of experimental mode when loading moduleAnand Jain1-0/+3
2025-01-13btrfs: output the reason for open_ctree() failureQu Wenruo1-1/+1
2024-12-11fs: enable pre-content events on supported file systemsJosef Bacik1-1/+1
2024-12-10Merge tag 'for-6.13-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-39/+27
2024-12-03btrfs: fix mount failure due to remount racesQu Wenruo1-39/+27
2024-11-18Merge tag 'for-6.13-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kda...Linus Torvalds1-22/+11
2024-11-18Merge tag 'vfs-6.13.mgtime' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+2
2024-11-11btrfs: fix warning on PTR_ERR() against NULL device at btrfs_control_ioctl()Filipe Manana1-1/+4
2024-11-11btrfs: re-enable the extent map shrinkerFilipe Manana1-7/+1
2024-11-11btrfs: make the extent map shrinker run asynchronously as a work queue jobFilipe Manana1-10/+3
2024-11-11btrfs: drop unused parameter data from btrfs_fill_super()David Sterba1-3/+2
2024-11-11btrfs: drop unused parameter options from open_ctree()David Sterba1-1/+1
2024-11-11btrfs: split out CONFIG_BTRFS_EXPERIMENTAL from CONFIG_BTRFS_DEBUGQu Wenruo1-3/+3
2024-11-07btrfs: fix per-subvolume RO/RW flags with new mount APIQu Wenruo1-20/+5
2024-10-22btrfs: reject ro->rw reconfiguration if there are hard ro requirementsQu Wenruo1-2/+1
2024-10-22btrfs: clear force-compress on remount when compress mount option is givenFilipe Manana1-0/+9
2024-10-10btrfs: convert to multigrain timestampsJeff Layton1-1/+2
2024-08-16btrfs: only enable extent map shrinker for DEBUG buildsQu Wenruo1-1/+7
2024-08-13btrfs: only run the extent map shrinker from kswapd tasksFilipe Manana1-0/+10
2024-08-01btrfs: emit a warning about space cache v1 being deprecatedJosef Bacik1-1/+4
2024-07-19btrfs: change BTRFS_MOUNT_* flags to 64bit typeQu Wenruo1-5/+6
2024-07-11btrfs: introduce new "rescue=ignoresuperflags" mount optionQu Wenruo1-1/+12
2024-07-11btrfs: introduce new "rescue=ignoremetacsums" mount optionQu Wenruo1-1/+12
2024-07-11btrfs: remove unused Opt enumsQu Wenruo1-3/+0
2024-07-11btrfs: move the direct IO code into its own fileFilipe Manana1-0/+4
2024-07-11btrfs: remove super block argument from btrfs_iget()Filipe Manana1-1/+1
2024-07-11btrfs: constify pointer parameters where applicableDavid Sterba1-2/+2
2024-07-11btrfs: add MODULE_DESCRIPTION()Jeff Johnson1-0/+1
2024-07-11btrfs: add and use helper to commit the current transactionFilipe Manana1-10/+1
2024-07-11btrfs: simplify range parameters of btrfs_wait_ordered_roots()David Sterba1-1/+1
2024-05-21btrfs: re-introduce 'norecovery' mount optionQu Wenruo1-0/+8
2024-05-07btrfs: add tracepoints for extent map shrinker eventsFilipe Manana1-1/+4
2024-05-07btrfs: add a shrinker for extent mapsFilipe Manana1-0/+17
2024-05-07btrfs: change root->root_key.objectid to btrfs_root_id()Josef Bacik1-8/+5
2024-03-04btrfs: factor out validation of btrfs_ioctl_vol_args::nameDavid Sterba1-1/+4
2024-03-04btrfs: remove unused included headersDavid Sterba1-2/+0
2024-03-04btrfs: replace sb::s_blocksize by fs_info::sectorsizeDavid Sterba1-1/+1
2024-01-22Merge tag 'for-6.8-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+8
2024-01-18btrfs: use the original mount's mount options for the legacy reconfigureJosef Bacik1-0/+8
2024-01-10Merge tag 'for-6.8-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdav...Linus Torvalds1-1124/+1169
2024-01-08Merge tag 'vfs-6.8.super' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds1-0/+2
2023-12-15btrfs: remove code for inode_cache and recovery mount optionsJosef Bacik1-35/+0
2023-12-15btrfs: set clear_cache if we use usebackuprootJosef Bacik1-0/+9
2023-12-15btrfs: move one shot mount option clearing to super.cJosef Bacik1-0/+14
2023-12-15btrfs: remove old mount API codeJosef Bacik1-1065/+13
2023-12-15btrfs: move the device specific mount options to super.cJosef Bacik1-0/+25
2023-12-15btrfs: switch to the new mount APIJosef Bacik1-39/+49
2023-12-15btrfs: handle the ro->rw transition for mounting different subvolumesJosef Bacik1-1/+128
2023-12-15btrfs: add get_tree callback for new mount APIJosef Bacik1-4/+204
2023-12-15btrfs: add reconfigure callback for fs_contextJosef Bacik1-21/+185
2023-12-15btrfs: add fs context handling functionsJosef Bacik1-1/+35
2023-12-15btrfs: add parse_param callback for the new mount APIJosef Bacik1-0/+380
2023-12-15btrfs: add fs_parameter definitionsJosef Bacik1-1/+125
2023-12-15btrfs: split out ro->rw and rw->ro helpers into their own functionsJosef Bacik1-113/+116
2023-12-15btrfs: move space cache settings into open_ctreeJosef Bacik1-13/+43
2023-12-15btrfs: split out the mount option validation code into its own helperJosef Bacik1-29/+37
2023-11-28Merge tag 'for-6.7-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+4
2023-11-23btrfs: add dmesg output for first mount and last unmount of a filesystemQu Wenruo1-1/+4
2023-11-18btrfs: Do not restrict writes to btrfs devicesJan Kara1-0/+2
2023-11-02Merge tag 'mm-stable-2023-11-01-14-33' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2023-10-12btrfs: add and use helpers for reading and writing last_trans_committedFilipe Manana1-3/+4
2023-10-12btrfs: scan but don't register device on single device filesystemAnand Jain1-5/+18
2023-10-12btrfs: check-integrity: remove CONFIG_BTRFS_FS_CHECK_INTEGRITY optionQu Wenruo1-56/+0
2023-10-12btrfs: include linux/security.h in super.cJosef Bacik1-0/+1
2023-10-10Revert "btrfs: reject unknown mount options early"David Sterba1-4/+0
2023-10-04fs: super: dynamically allocate the s_shrinkQi Zheng1-1/+1
2023-10-04btrfs: reject unknown mount options earlyQu Wenruo1-0/+4
2023-09-20btrfs: properly report 0 avail for very full file systemsJosef Bacik1-1/+1
2023-08-21btrfs: deprecate integrity checker featureQu Wenruo1-0/+6
2023-06-26Merge tag 'for-6.5/block-2023-06-23' of git://git.kernel.dk/linuxLinus Torvalds1-14/+7
2023-06-19btrfs: remove hipri_workers workqueueChristoph Hellwig1-1/+0
2023-06-12block: replace fmode_t with a block-specific type for block open flagsChristoph Hellwig1-4/+4
2023-06-12block: add a sb_open_mode helperChristoph Hellwig1-4/+1
2023-06-12btrfs: don't pass a holder for non-exclusive blkdev_get_by_pathChristoph Hellwig1-10/+6
2023-06-06btrfs: properly enable async discard when switching from RO->RWChris Mason1-0/+6
2023-05-10btrfs: make clear_cache mount option to rebuild FST without disabling itQu Wenruo1-2/+1
2023-04-28btrfs: properly reject clear_cache and v1 cache for block-group-treeQu Wenruo1-1/+6
2023-04-17btrfs: don't print the crc32c implementation at module load timeChristoph Hellwig1-1/+1
2023-04-17btrfs: use btrfs_handle_fs_error in btrfs_fill_superJosef Bacik1-0/+1
2023-04-06btrfs: fix fast csum implementation detectionChristoph Hellwig1-2/+0
2023-04-06btrfs: restore the thread_pool= behavior in remount for the end I/O workqueuesChristoph Hellwig1-0/+2
2023-02-15btrfs: fix spelling mistakes found using codespellColin Ian King1-1/+1
2023-02-13btrfs: pass find_free_extent_ctl to allocator tracepointsBoris Burkov1-0/+1
2023-01-03btrfs: fix compat_ro checks against remountQu Wenruo1-1/+1
2022-12-15btrfs: fix leak of fs devices after removing btrfs moduleFilipe Manana1-0/+1
2022-12-05btrfs: split the bio submission path into a separate fileChristoph Hellwig1-1/+1
2022-12-05btrfs: use btrfs_dev_name() helper to handle missing devices betterQu Wenruo1-1/+1
2022-12-05btrfs: move super prototypes into super.hJosef Bacik1-0/+1
2022-12-05btrfs: move verity prototypes into verity.hJosef Bacik1-0/+1
2022-12-05btrfs: move scrub prototypes into scrub.hJosef Bacik1-0/+1
2022-12-05btrfs: move ioctl prototypes into ioctl.hJosef Bacik1-0/+1
2022-12-05btrfs: move dir-item prototypes into dir-item.hJosef Bacik1-0/+1
2022-12-05btrfs: move defrag related prototypes to their own headerJosef Bacik1-0/+1
2022-12-05btrfs: move the printk and assert helpers to messages.cJosef Bacik1-346/+0
2022-12-05btrfs: use struct fscrypt_str instead of struct qstrSweet Tea Dorminy1-1/+1
2022-12-05btrfs: use struct qstr instead of name and namelen pairsSweet Tea Dorminy1-1/+2
2022-12-05btrfs: merge module cleanup sequence to one helperAnand Jain1-18/+10
2022-12-05btrfs: move accessor helpers into accessors.hJosef Bacik1-0/+1
2022-12-05btrfs: add a BTRFS_FS_NEED_TRANS_COMMIT flagJosef Bacik1-1/+2
2022-12-05btrfs: push printk index code into their respective helpersJosef Bacik1-0/+10
2022-12-05btrfs: move the printk helpers out of ctree.hJosef Bacik1-0/+1
2022-12-05btrfs: move assert helpers out of ctree.hJosef Bacik1-0/+14
2022-12-05btrfs: move fs wide helpers out of ctree.hJosef Bacik1-0/+1
2022-12-05btrfs: auto enable discard=async when possibleDavid Sterba1-0/+2
2022-12-05btrfs: make module init/exit match their sequenceQu Wenruo1-126/+116
2022-12-05btrfs: move free space cachep's out of ctree.hJosef Bacik1-1/+8
2022-12-05btrfs: move btrfs_path_cachep out of ctree.hJosef Bacik1-1/+8
2022-12-05btrfs: move trans_handle_cachep out of ctree.hJosef Bacik1-1/+8
2022-10-24btrfs: make thaw time super block check to also verify checksumQu Wenruo1-0/+16
2022-09-26btrfs: relax block-group-tree feature dependency checksQu Wenruo1-16/+3
2022-09-26btrfs: separate out the extent state and extent buffer init codeJosef Bacik1-5/+12
2022-09-26btrfs: enhance unsupported compat RO flags handlingQu Wenruo1-0/+9
2022-09-26btrfs: dump all space infos if we abort transaction due to ENOSPCQu Wenruo1-1/+3
2022-09-26btrfs: check superblock to ensure the fs was not modified at thaw timeQu Wenruo1-0/+60
2022-09-26btrfs: move btrfs_bio allocation to volumes.cChristoph Hellwig1-5/+5
2022-09-26btrfs: don't print information about space cache or tree every remountMaciej S. Szmigiero1-4/+7
2022-08-05Merge tag 'mm-stable-2022-08-03' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+2
2022-07-25btrfs: use mask for all RAID1* profiles in btrfs_calc_avail_data_spaceDavid Sterba1-6/+2
2022-07-25btrfs: use named constant for reserved device spaceQu Wenruo1-8/+4
2022-07-25btrfs: remove btrfs_end_io_wqChristoph Hellwig1-10/+1
2022-07-25btrfs: don't use btrfs_bio_wq_end_io for compressed writesChristoph Hellwig1-2/+0
2022-07-25btrfs: add trace event for submitted RAID56 bioQu Wenruo1-0/+1
2022-07-25btrfs: fix typos in commentsDavid Sterba1-1/+1
2022-07-03mm: shrinkers: provide shrinkers with namesRoman Gushchin1-0/+2
2022-06-07btrfs: add error messages to all unrecognized mount optionsDavid Sterba1-7/+32
2022-06-06btrfs: prevent remounting to v1 space cache for subpage mountQu Wenruo1-0/+8
2022-05-16btrfs: use normal workqueues for scrubChristoph Hellwig1-2/+0
2022-05-16btrfs: simplify WQ_HIGHPRI handling in struct btrfs_workqueueChristoph Hellwig1-0/+1
2022-05-16btrfs: add messages to printk indexJonathan Lassoff1-3/+3
2022-03-14btrfs: add filesystems state details to error messagesSweet Tea Dorminy1-8/+60
2022-03-14btrfs: disable space cache related mount options for extent tree v2Josef Bacik1-0/+20
2022-03-14btrfs: match stale devices by dev_tAnand Jain1-1/+7
2022-01-22mm: remove cleancacheChristoph Hellwig1-2/+0
2022-01-07btrfs: remove reada infrastructureQu Wenruo1-1/+0
2021-10-26btrfs: add a BTRFS_FS_ERROR helperJosef Bacik1-1/+1
2021-10-26btrfs: use latest_dev in btrfs_show_devnameAnand Jain1-19/+5
2021-10-26btrfs: convert latest_bdev type to btrfs_device and renameAnand Jain1-1/+1
2021-08-23btrfs: allow idmapped mountChristian Brauner1-1/+1
2021-08-23btrfs: introduce btrfs_search_backwards functionMarcos Paulo de Souza1-20/+6
2021-08-23btrfs: print if fsverity support is built in when loading moduleDavid Sterba1-0/+5
2021-08-23btrfs: initial fsverity supportBoris Burkov1-0/+3
2021-08-23btrfs: allow read-write for 4K sectorsize on 64K page size systemsQu Wenruo1-7/+0
2021-08-23btrfs: constify and cleanup variables in comparatorsDavid Sterba1-7/+6
2021-06-22btrfs: shorten integrity checker extent data mount optionDavid Sterba1-3/+2
2021-06-21btrfs: always abort the transaction if we abort a trans handleJosef Bacik1-11/+0
2021-04-20btrfs: more graceful errors/warnings on 32bit systems when reaching limitsQu Wenruo1-0/+26
2021-03-02btrfs: fix spurious free_space_tree remount warningBoris Burkov1-2/+2
2021-02-08btrfs: allow read-only mount of 4K sector size fs on 64K page systemQu Wenruo1-0/+7
2021-02-08btrfs: introduce the skeleton of btrfs_subpage structureQu Wenruo1-1/+0
2020-12-18btrfs: run delayed iputs when remounting RO to avoid leaking themFilipe Manana1-0/+10
2020-12-18btrfs: fix race between RO remount and the cleaner taskFilipe Manana1-3/+19
2020-12-18btrfs: fix transaction leak and crash after RO remount caused by qgroup rescanFilipe Manana1-0/+8
2020-12-09btrfs: warn when remount will not change the free space treeBoris Burkov1-0/+16
2020-12-09btrfs: use superblock state to print space_cache mount optionBoris Burkov1-2/+2
2020-12-09btrfs: keep sb cache_generation consistent with space_cacheBoris Burkov1-3/+7
2020-12-09btrfs: clear oneshot options on mount and remountBoris Burkov1-0/+1