aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/sysfs.c
AgeCommit message (Expand)AuthorFilesLines
10 daysbtrfs: zoned: show statistics for zoned filesystemsJohannes Thumshirn1-0/+53
10 daysbtrfs: remove fs_info argument from btrfs_sysfs_add_space_info_type()Filipe Manana1-3/+2
2025-09-22btrfs: simplify support block size checkQu Wenruo1-6/+10
2025-07-21btrfs: use our message helpers instead of pr_err/pr_warn/pr_infoDavid Sterba1-3/+2
2025-07-21btrfs: rename error to ret in btrfs_sysfs_add_mounted()David Sterba1-24/+23
2025-07-21btrfs: rename error to ret in btrfs_sysfs_add_fsid()David Sterba1-5/+5
2025-07-21btrfs: rename err to ret in quota_override_store()David Sterba1-4/+4
2025-07-21btrfs: sysfs: track current commit duration in commit_statsBoris Burkov1-0/+8
2025-05-15btrfs: introduce tree-log sub-space_infoNaohiro Aota1-2/+9
2025-05-15btrfs: introduce btrfs_space_info sub-groupNaohiro Aota1-3/+15
2025-03-18btrfs: allow debug builds to accept 2K block sizeQu Wenruo1-1/+2
2025-03-18btrfs: sysfs: accept size suffixes for read policy valuesAnand Jain1-5/+6
2025-02-26btrfs: replace deprecated strncpy() with strscpy()Thorsten Blum1-2/+2
2025-01-13btrfs: configure read policy via module parameterAnand Jain1-1/+30
2025-01-13btrfs: add read policy to set a preferred deviceAnand Jain1-1/+30
2025-01-13btrfs: introduce RAID1 round-robin read balancingAnand Jain1-1/+47
2025-01-13btrfs: sysfs: handle value associated with read balancing policyAnand Jain1-2/+22
2025-01-13btrfs: sysfs: add btrfs_read_policy_to_enum() helper and refactor read policy...Anand Jain1-12/+22
2025-01-13btrfs: sysfs: refactor output formatting in btrfs_read_policy_show()Anand Jain1-8/+10
2024-12-23btrfs: sysfs: fix direct super block member readsQu Wenruo1-3/+3
2024-11-28btrfs: sysfs: advertise experimental features only if CONFIG_BTRFS_EXPERIMENT...Filipe Manana1-2/+2
2024-11-11btrfs: split out CONFIG_BTRFS_EXPERIMENTAL from CONFIG_BTRFS_DEBUGQu Wenruo1-2/+2
2024-07-11btrfs: introduce new "rescue=ignoresuperflags" mount optionQu Wenruo1-0/+1
2024-07-11btrfs: introduce new "rescue=ignoremetacsums" mount optionQu Wenruo1-0/+1
2024-07-11btrfs: periodic block_group reclaimBoris Burkov1-0/+34
2024-07-11btrfs: dynamic block_group reclaim thresholdBoris Burkov1-1/+42
2024-07-11btrfs: report reclaim stats in sysfsBoris Burkov1-0/+6
2024-05-07btrfs: use btrfs_is_testing() everywhereDavid Sterba1-4/+4
2024-03-04btrfs: introduce offload_csum_mode to tweak checksum offloading behaviorNaohiro Aota1-0/+44
2024-03-04btrfs: sysfs: drop unnecessary double logical negation in acl_show()Neal Gompa1-1/+1
2024-03-04btrfs: use READ/WRITE_ONCE for fs_devices->read_policyNaohiro Aota1-3/+4
2023-12-15btrfs: sysfs: validate scrub_speed_max valueDavid Disseldorp1-0/+4
2023-10-12btrfs: sysfs: show temp_fsid featureAnand Jain1-0/+18
2023-10-12btrfs: add and use helpers for reading and writing fs_info->generationFilipe Manana1-1/+1
2023-10-12btrfs: sysfs: add simple_quota incompat feature entryBoris Burkov1-0/+2
2023-10-12btrfs: sysfs: expose quota mode via sysfsBoris Burkov1-0/+28
2023-10-12btrfs: sysfs: announce presence of raid-stripe-treeJohannes Thumshirn1-0/+3
2023-08-21btrfs: sysfs: show if ACL support has been compiled inAnand Jain1-0/+7
2023-04-17btrfs: sysfs: relax bg_reclaim_threshold for debugging purposesNaohiro Aota1-0/+5
2023-03-01btrfs: sysfs: add size class statsBoris Burkov1-0/+42
2023-02-15btrfs: make kobj_type structures constantThomas Weißschuh1-6/+6
2023-02-13btrfs: sysfs: update fs features directory asynchronouslyQu Wenruo1-21/+8
2022-12-05btrfs: simplify percent calculation helpers, rename div_factorDavid Sterba1-1/+1
2022-12-05btrfs: move accessor helpers into accessors.hJosef Bacik1-0/+1
2022-12-05btrfs: add a BTRFS_FS_NEED_TRANS_COMMIT flagJosef Bacik1-2/+2
2022-12-05btrfs: move BTRFS_FS_STATE* definitions and helpers to fs.hJosef Bacik1-0/+1
2022-12-05btrfs: move the printk helpers out of ctree.hJosef Bacik1-1/+1
2022-12-05btrfs: sysfs: convert remaining scnprintf to sysfs_emitDavid Sterba1-3/+3
2022-11-23btrfs: sysfs: normalize the error handling branch in btrfs_init_sysfs()Zhen Lei1-2/+5
2022-09-26btrfs: skip subtree scan if it's too high to avoid low stall in btrfs_commit_...Qu Wenruo1-0/+39
2022-09-26btrfs: sysfs: introduce global qgroup attribute groupQu Wenruo1-4/+61
2022-09-26btrfs: remove the unnecessary result variableszhang songyi1-8/+2
2022-09-26btrfs: separate BLOCK_GROUP_TREE compat RO flag from EXTENT_TREE_V2Qu Wenruo1-0/+2
2022-09-26btrfs: sysfs: show discard stats and tunables in non-debug buildDavid Sterba1-19/+16
2022-09-26btrfs: sysfs: use sysfs_streq for string matchingDavid Sterba1-20/+1
2022-07-25btrfs: sysfs: remove BIG_METADATA feature filesNikolay Borisov1-2/+0
2022-07-25btrfs: sysfs: remove MIXED_BACKREF feature fileNikolay Borisov1-2/+0
2022-07-25btrfs: sysfs: export commit statsIoannis Angelakopoulos1-1/+43
2022-07-25btrfs: sysfs: advertise zoned support among featuresDavid Sterba1-3/+6
2022-07-25btrfs: sysfs: add force_chunk_alloc trigger to force allocationStefan Roesch1-0/+53
2022-07-25btrfs: sysfs: export chunk size in space infosStefan Roesch1-0/+74
2022-07-25btrfs: fix typos in commentsDavid Sterba1-1/+1
2022-05-16btrfs: change the bg_reclaim_threshold valid region from 0 to 100Josef Bacik1-1/+1
2022-05-16btrfs: make the bg_reclaim_threshold per-space infoJosef Bacik1-0/+37
2022-05-16btrfs: expand subpage support to any PAGE_SIZE > 4KQu Wenruo1-4/+2
2022-05-05btrfs: sysfs: export the balance paused state of exclusive operationDavid Sterba1-0/+3
2022-03-14btrfs: replace BUILD_BUG_ON by static_assertDavid Sterba1-5/+5
2022-03-14btrfs: add definition for EXTENT_TREE_V2Josef Bacik1-1/+4
2022-01-07btrfs: sysfs: add devinfo/fsid to retrieve actual fsid from the deviceAnand Jain1-0/+11
2021-10-26btrfs: sysfs: convert scnprintf and snprintf to sysfs_emitAnand Jain1-49/+44
2021-08-23btrfs: sysfs: document structures and their associated filesAnand Jain1-16/+75
2021-08-23btrfs: zoned: allow disabling of zone auto reclaimJohannes Thumshirn1-3/+4
2021-08-23btrfs: initial fsverity supportBoris Burkov1-0/+6
2021-08-23btrfs: allow read-write for 4K sectorsize on 64K page size systemsQu Wenruo1-0/+4
2021-06-22btrfs: rip out btrfs_space_info::total_bytes_pinnedJosef Bacik1-13/+0
2021-06-22btrfs: sysfs: export dev stats in devinfo directoryDavid Sterba1-0/+29
2021-06-21btrfs: sysfs: fix format string for some discard statsDavid Sterba1-2/+2
2021-06-21btrfs: scrub: per-device bandwidth controlDavid Sterba1-0/+28
2021-04-20btrfs: zoned: automatically reclaim zonesJohannes Thumshirn1-0/+35
2021-04-19btrfs: add sysfs interface for supported sectorsizeQu Wenruo1-0/+15
2021-02-09btrfs: zoned: track unusable bytes for zonesNaohiro Aota1-0/+2
2020-12-16Merge tag 'for-5.11/block-2020-12-14' of git://git.kernel.dk/linux-blockLinus Torvalds1-12/+3
2020-12-08btrfs: introduce ZONED feature flagNaohiro Aota1-0/+7
2020-12-08btrfs: sysfs: remove unneeded semicolonTom Rix1-1/+1
2020-12-08btrfs: discard: reschedule work after sysfs param updatePavel Begunkov1-2/+3
2020-12-08btrfs: sysfs: add per-fs attribute for read policyAnand Jain1-0/+49
2020-12-08btrfs: add helper for string match ignoring leading/trailing whitespaceAnand Jain1-0/+19
2020-12-08btrfs: introduce mount option rescue=allJosef Bacik1-0/+1
2020-12-08btrfs: introduce mount option rescue=ignoredatacsumsJosef Bacik1-0/+1
2020-12-08btrfs: introduce mount option rescue=ignorebadrootsJosef Bacik1-0/+1
2020-12-08btrfs: sysfs: export supported rescue= mount optionsJosef Bacik1-0/+22
2020-12-07btrfs: sysfs: export filesystem generationAnand Jain1-0/+10
2020-12-01block: add a bdev_kobj helperChristoph Hellwig1-12/+3
2020-10-07btrfs: do not create raid sysfs entries under any locksJosef Bacik1-2/+23
2020-10-07btrfs: sysfs: export supported send stream versionOmar Sandoval1-0/+9
2020-10-07btrfs: handle errors in btrfs_sysfs_add_fs_devicesAnand Jain1-2/+6
2020-10-07btrfs: initialize sysfs devid and device link for seed deviceAnand Jain1-0/+15
2020-10-07btrfs: split and refactor btrfs_sysfs_remove_devices_dirAnand Jain1-16/+11
2020-10-07btrfs: simplify parameters of btrfs_sysfs_add_devices_dirAnand Jain1-7/+4
2020-10-07btrfs: make btrfs_sysfs_remove_devices_dir return voidAnand Jain1-5/+3
2020-10-07btrfs: add btrfs_sysfs_remove_device helperAnand Jain1-34/+27
2020-10-07btrfs: add btrfs_sysfs_add_device helperAnand Jain1-26/+52
2020-10-07btrfs: sysfs: export currently running exclusive operationGoldwyn Rodrigues1-0/+37
2020-10-07btrfs: simplify setting/clearing fs_info to btrfs_fs_devicesNikolay Borisov1-4/+0
2020-10-07btrfs: sysfs: fix unused-but-set-variable warningsLeon Romanovsky1-2/+6
2020-10-07btrfs: remove const from btrfs_feature_set_nameDavid Sterba1-1/+1
2020-10-07btrfs: remove fsid argument from btrfs_sysfs_update_sprout_fsidNikolay Borisov1-3/+3
2020-09-22btrfs: fix put of uninitialized kobject after seed device deleteAnand Jain1-6/+10
2020-08-10btrfs: sysfs: fix NULL pointer dereference at btrfs_sysfs_del_qgroups()Qu Wenruo1-3/+5
2020-07-27btrfs: sysfs: use NOFS for device creationJosef Bacik1-0/+3
2020-07-27btrfs: sysfs: add bdi link to the fsid directoryNikolay Borisov1-2/+10
2020-07-27btrfs: qgroup: export qgroups in sysfsQu Wenruo1-0/+148
2020-03-23btrfs: sysfs: Use scnprintf() instead of snprintf()Takashi Iwai1-29/+28
2020-03-23btrfs: sysfs, unify handler name of devinfo/missingAnand Jain1-2/+2
2020-03-23btrfs: sysfs, rename device_link add/remove functionsAnand Jain1-5/+5
2020-03-23btrfs: sysfs, use btrfs_sysfs_remove_fsid to celanup errors in add_fsidAnand Jain1-1/+1
2020-02-12btrfs: sysfs, move device id directories to UUID/devinfoAnand Jain1-1/+1
2020-02-12btrfs: sysfs, add UUID/devinfo kobjectAnand Jain1-0/+15
2020-01-23btrfs: sysfs, add devid/dev_state kobject and device attributesAnand Jain1-23/+132
2020-01-20btrfs: keep track of discard reuse statsDennis Zhou1-0/+36
2020-01-20btrfs: make max async discard size tunableDennis Zhou1-0/+31
2020-01-20btrfs: add kbps discard rate limit for async discardDennis Zhou1-0/+31
2020-01-20btrfs: calculate discard delay based on number of extentsDennis Zhou1-0/+31
2020-01-20btrfs: keep track of discardable_bytes for async discardDennis Zhou1-0/+12
2020-01-20btrfs: track discardable extents for async discardDennis Zhou1-0/+15
2020-01-20btrfs: sysfs: add UUID/debug/discard directoryDennis Zhou1-0/+26
2020-01-20btrfs: sysfs: make UUID/debug have its own kobjectDennis Zhou1-4/+16
2020-01-20btrfs: sysfs: add removal calls for debug/Dennis Zhou1-0/+7
2020-01-20btrfs: sysfs, merge btrfs_sysfs_add devices_kobj and fsidAnand Jain1-12/+9
2020-01-20btrfs: sysfs, rename btrfs_sysfs_add_device()Anand Jain1-1/+1
2020-01-20btrfs: sysfs, btrfs_sysfs_add_fsid() drop unused argument parentAnand Jain1-5/+6
2020-01-20btrfs: sysfs, rename devices kobject holder to devices_kobjAnand Jain1-14/+12
2019-11-18btrfs: rename btrfs_block_group_cacheDavid Sterba1-2/+2
2019-11-18btrfs: add incompat for raid1 with 3, 4 copiesDavid Sterba1-0/+2
2019-11-18btrfs: add dedicated members for start and length of a block groupDavid Sterba1-1/+1
2019-11-18btrfs: move block_group_item::used to block groupDavid Sterba1-1/+1
2019-11-18btrfs: sysfs: show used checksum driver per filesystemJohannes Thumshirn1-0/+15
2019-11-18btrfs: sysfs: export supported checksumsDavid Sterba1-0/+22
2019-09-09btrfs: sysfs: move helper macros to sysfs.cDavid Sterba1-0/+48
2019-09-09btrfs: sysfs: move type conversion helpers to sysfs.cDavid Sterba1-0/+16
2019-09-09btrfs: cleanup kobject.h includesDavid Sterba1-1/+0
2019-09-09btrfs: factor out sysfs code for updating sprout fsidDavid Sterba1-0/+15
2019-09-09btrfs: factor out sysfs code for deleting block group and space infosDavid Sterba1-0/+22
2019-09-09btrfs: factor out sysfs code for sending device ueventDavid Sterba1-0/+11
2019-09-09btrfs: sysfs: replace direct access to feature set names with a helperDavid Sterba1-1/+6
2019-09-09btrfs: sysfs: unexport space_info_ktypeDavid Sterba1-1/+1
2019-09-09btrfs: factor out sysfs code for creating space infosDavid Sterba1-0/+37
2019-09-09btrfs: sysfs: unexport btrfs_raid_ktypeDavid Sterba1-1/+1
2019-09-09btrfs: factor sysfs code out of link_block_groupDavid Sterba1-0/+46
2019-09-09btrfs: delete debugfs codeDavid Sterba1-30/+0
2019-09-09btrfs: sysfs: add debugging exportsDavid Sterba1-0/+32
2019-09-09btrfs: move basic block_group definitions to their own headerJosef Bacik1-0/+1
2019-07-16Merge tag 'for-5.3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdav...Linus Torvalds1-0/+1
2019-07-02btrfs: move space_info to space-info.hJosef Bacik1-0/+1
2019-06-21btrfs: sysfs: Replace default_attrs in ktypes with groupsKimberly Brown1-3/+5
2019-06-03btrfs: no need to check return value of debugfs_create functionsGreg Kroah-Hartman1-8/+2
2019-05-16btrfs: sysfs: don't leak memory when failing add fsidTobin C. Harding1-1/+6
2018-12-17btrfs: Add sysfs support for metadata_uuid featureNikolay Borisov1-0/+14
2018-08-06btrfs: prune unused includesDavid Sterba1-2/+0
2018-05-28btrfs: sysfs: Add entry which shows if rmdir can work on subvolumesMisono Tomohiro1-0/+39
2018-05-28btrfs: sysfs: Use enum/define value for feature array definitionsTomohiro Misono1-5/+6
2018-05-28btrfs: rename struct btrfs_fs_devices::listAnand Jain1-1/+1
2018-04-12btrfs: replace GPL boilerplate by SPDX -- sourcesDavid Sterba1-14/+1
2018-03-31btrfs: defer adding raid type kobject until after chunk relocationJeff Mahoney1-1/+1
2018-03-26btrfs: add more __cold annotationsDavid Sterba1-1/+1
2018-03-16Revert "btrfs: use proper endianness accessors for super_copy"David Sterba1-3/+5
2018-03-01btrfs: use proper endianness accessors for super_copyAnand Jain1-5/+3
2018-01-22Btrfs: add __init macro to btrfs init functionsLiu Bo1-1/+1
2017-10-30btrfs: prefix sysfs attribute struct namesHans van Kranenburg1-31/+32
2017-09-14Merge branch 'work.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-2/+2
2017-08-15btrfs: Add zstd supportNick Terrell1-0/+2
2017-07-17VFS: Convert sb->s_flags & MS_RDONLY to sb_rdonly(sb)David Howells1-2/+2
2017-06-19btrfs: Add quota_override knob into sysfsSargun Dhillon1-0/+41
2016-09-26btrfs: convert printk(KERN_* to use pr_* callsJeff Mahoney1-1/+1
2016-09-26btrfs: unsplit printed stringsJeff Mahoney1-2/+4
2016-09-26btrfs: create example debugfs file only in debugging buildDavid Sterba1-0/+9
2016-09-26btrfs: fix perms on demonstration debugfs interfaceEric Sandeen1-1/+1
2016-07-26btrfs: add missing bytes_readonly attribute file in sysfsWang Xiaoguang1-0/+2
2016-05-06btrfs: sysfs: protect reading label by lockDavid Sterba1-1/+7
2016-05-06btrfs: add check to sysfs handler of labelDavid Sterba1-0/+3
2016-05-06btrfs: add read-only check to sysfs handler of featuresDavid Sterba1-0/+3
2016-01-27btrfs: sysfs: check initialization state before updating featuresDavid Sterba1-0/+3
2016-01-21btrfs: sysfs: introduce helper for syncing bits with sysfs filesDavid Sterba1-0/+30
2016-01-21btrfs: sysfs: add free-space-tree bit attributeDavid Sterba1-0/+2
2015-09-29Btrfs: rename super_kobj to fsid_kobjAnand Jain1-18/+18
2015-09-29Btrfs: rename btrfs_kobj_rm_device to btrfs_sysfs_rm_device_linkAnand Jain1-3/+3
2015-09-29Btrfs: rename btrfs_kobj_add_device to btrfs_sysfs_add_device_linkAnand Jain1-2/+2
2015-09-29Btrfs: rename btrfs_sysfs_remove_one to btrfs_sysfs_remove_mountedAnand Jain1-2/+2
2015-09-29Btrfs: rename btrfs_sysfs_add_one to btrfs_sysfs_add_mountedAnand Jain1-1/+1
2015-06-22Btrfs: Check if kobject is initialized before putAnand Jain1-3/+5
2015-05-27Btrfs: sysfs: add support to add parent for fsidAnand Jain1-2/+2
2015-05-27Btrfs: sysfs: separate kobject and attribute creationAnand Jain1-13/+2
2015-05-27Btrfs: sysfs: btrfs_sysfs_remove_fsid() make it non staticAnand Jain1-1/+1
2015-05-27Btrfs: sysfs: make btrfs_sysfs_add_fsid() non staticAnand Jain1-1/+1
2015-05-27Btrfs: sysfs btrfs_kobj_rm_device() pass fs_devices instead of fs_infoAnand Jain1-6/+6
2015-05-27Btrfs: sysfs btrfs_kobj_add_device() pass fs_devices instead of fs_infoAnand Jain1-4/+3
2015-05-27Btrfs: sysfs: provide framework to remove all fsid sysfs kobjectAnand Jain1-1/+16
2015-05-27Btrfs: sysfs: add pointer to access fs_info from fs_devicesAnand Jain1-0/+4
2015-05-27Btrfs: sysfs: move super_kobj and device_dir_kobj from fs_info to btrfs_fs_de...Anand Jain1-39/+49
2015-05-27Btrfs: sysfs: separate device kobject and its attribute creationAnand Jain1-6/+15