aboutsummaryrefslogtreecommitdiffstats
path: root/cmds
AgeCommit message (Expand)AuthorFilesLines
2024-04-30Revert "btrfs-progs: subvol delete: add options to delete the qgroup"Qu Wenruo1-26/+0
2024-04-30btrfs-progs: reorder key initializationsDavid Sterba7-15/+16
2024-04-30btrfs-progs: add basename wrappers for unified semanticsDavid Sterba1-13/+13
2024-04-30btrfs-progs: property set: fix typo in help messageoluceps1-1/+1
2024-04-18btrfs-progs: unify error handling in cmd_inspect_list_chunks()David Sterba1-8/+10
2024-04-18btrfs-progs: scrub start: use local buffer for data file path in scrub_start()David Sterba1-2/+1
2024-04-18btrfs-progs: handle strndup() failure in ino_resolve()David Sterba1-0/+4
2024-04-18btrfs-progs: fix double file descriptor close in cmd_replace_start()David Sterba1-1/+0
2024-03-25btrfs-progs: prop set: enhance error message when changing subvolume from ro->rwDavid Sterba1-1/+3
2024-03-16btrfs-progs: unify tree search header accessDavid Sterba5-58/+60
2024-03-16btrfs-progs: use TREE_SEARCH ioctl wrappers for all non-library codeDavid Sterba5-127/+135
2024-03-15btrfs-progs: chunk-recover: proper error handling for cache insertionsDavid Sterba1-7/+23
2024-03-12btrfs-progs: use unsigned types for bit shiftsDavid Sterba1-1/+1
2024-03-04btrfs-progs: subvolume: output the prompt line only when the ioctl succeededQu Wenruo1-10/+11
2024-03-04btrfs-progs: qgroups: remove support for num_ref_copies/num_excl_copiesQu Wenruo3-65/+1
2024-02-20btrfs-progs: rename btrfs_open_fd2() to btrfs_open_path()David Sterba3-3/+3
2024-02-20btrfs-progs: drop _fd from btrfs_open_file_or_dir_fd()David Sterba3-4/+4
2024-02-20btrfs-progs: drop _fd from btrfs_open_mnt_fd()David Sterba3-5/+5
2024-02-20btrfs-progs: drop _fd from btrfs_open_dir_fd()David Sterba10-33/+33
2024-02-20btrfs-progs: drop verbosity parameter from btrfs_open_fd2()David Sterba3-3/+3
2024-02-20btrfs-progs: always print error messages from btrfs_open_fd2()David Sterba3-7/+3
2024-02-20btrfs-progs: drop verbosity parameter from btrfs_open_mnt_fd()David Sterba3-5/+5
2024-02-20btrfs-progs: scrub start: use global verbosity optionsDavid Sterba1-27/+18
2024-02-20btrfs-progs: use btrfs_open_file_or_dir_fd for error verbosityDavid Sterba3-9/+4
2024-02-20btrfs-progs: switch open helper functions to return negative errnoDavid Sterba5-6/+11
2024-02-20btrfs-progs: remove open_file_or_dir3 from du_add_fileGoffredo Baroncelli1-2/+16
2024-02-20btrfs-progs: replace open_file_or_dir with btrfs_open_fd2Goffredo Baroncelli3-9/+6
2024-02-20btrfs-progs: replace btrfs_open_file_or_dir with btrfs_open_file_or_dir_fdGoffredo Baroncelli1-3/+2
2024-02-20btrfs-progs: replace open_file_or_dir3 with btrfs_open_fd2Goffredo Baroncelli2-8/+5
2024-02-20btrfs-progs: replace open_path_or_dev_mnt with btrfs_open_mnt_fdGoffredo Baroncelli3-16/+11
2024-02-20btrfs-progs: replace btrfs_open_dir with btrfs_open_dir_fdGoffredo Baroncelli2-7/+5
2024-02-20btrfs-progs: replace btrfs_open_dir with btrfs_open_dir_fdGoffredo Baroncelli10-107/+76
2024-02-08btrfs-progs: rescue: properly close the fs for clear-ino-cacheQu Wenruo1-0/+1
2024-01-31btrfs-progs: fi show: canonicalize path when using blkid and -dDavid Sterba1-1/+10
2024-01-18btrfs-progs: fi usage: wrong values in case of raid56 and not rootGoffredo Baroncelli1-1/+17
2024-01-18btrfs-progs: dev usage: don't print incorrect unallocated dataGoffredo Baroncelli1-4/+13
2024-01-18btrfs-progs: implement arg_strtou64_with_suffix() with a new helperQu Wenruo4-12/+15
2024-01-15btrfs-progs: scrub start: consider the lowest non-zero limitJonas Malaco1-2/+4
2024-01-15btrfs-progs: scrub status: consider the lowest non-zero limitJonas Malaco1-2/+4
2024-01-15btrfs-progs: scrub status: only report limits if at least one existsJonas Malaco1-1/+1
2024-01-10btrfs-progs: subvolume: fix return value when the target existsQu Wenruo1-1/+10
2023-12-09btrfs-progs: scrub limit: add option to apply the limit to all devicesDavid Sterba1-2/+52
2023-12-09btrfs-progs: scrub limit: allow to set the limitDavid Sterba1-2/+63
2023-12-09btrfs-progs: scrub status: improve Rate reporting for sub-second durationsDavid Disseldorp1-1/+8
2023-12-09btrfs-progs: scrub start: print device limit if setDavid Sterba1-0/+6
2023-12-09btrfs-progs: srcub: new subcommand limitDavid Sterba1-0/+114
2023-12-08btrfs-progs: use statvfs() in print_filesystem_usage_overallDavid Sterba1-6/+6
2023-12-08btrfs-progs: subvol sync: check if the filesystem is writableDavid Sterba1-0/+13
2023-12-08btrfs-progs: scrub status: print device speed limit in status if setDavid Sterba1-15/+71
2023-12-07btrfs-progs: receive: properly report lack of zstd supportDavid Sterba1-1/+1
2023-12-05btrfs-progs: subvol delete: print the id of the deleted subvolumeDavid Sterba1-1/+2
2023-12-05btrfs-progs: subvol delete: add options to delete the qgroupDavid Sterba1-0/+26
2023-12-01btrfs-progs: device delete: add timeout when removing multiple devicesDavid Sterba1-1/+26
2023-12-01btrfs-progs: use get_sysfs_proto_supported() in get_sysfs_proto_supported()David Sterba1-12/+5
2023-11-23btrfs-progs: subvolume create: accept multiple argumentsQu Wenruo1-68/+84
2023-11-23btrfs-progs: subvolume create: handle failure for strdup()Qu Wenruo1-0/+9
2023-11-14btrfs-progs: property set: skip opening char devices completelyDavid Sterba1-0/+13
2023-11-14btrfs-progs: fix -Walloc-size warnings reported by gcc 14Sam James1-1/+1
2023-11-03btrfs-progs: resize: properly return error from check_resize_argsDavid Sterba1-1/+2
2023-11-03btrfs-progs: resize: fallback to lowest devid when 1 does not existDavid Sterba1-9/+42
2023-11-03btrfs-progs: fi defrag: add new option to process the range in stepsDavid Sterba1-4/+62
2023-11-03btrfs-progs: rescue: replace kfree by free in clear_uuid_treeDavid Sterba1-1/+1
2023-11-03btrfs-progs: move space cache removal to rescue groupQu Wenruo1-0/+62
2023-11-03btrfs-progs: remove old syntax of 'balance /path'David Sterba1-35/+1
2023-11-03btrfs-progs: use unsigned type for bit shift valuesDavid Sterba3-11/+11
2023-11-03btrfs-progs: subvolume delete: implement dry-run global optionDavid Sterba1-2/+7
2023-11-03btrfs-progs: add support for dry-run optionsDavid Sterba1-0/+1
2023-11-03btrfs-progs: cmds: drop unsigned long long casts for printfDavid Sterba2-6/+5
2023-11-03btrfs-progs: device usage: fix error reporting number of devices 0 != 1David Sterba1-0/+1
2023-10-21btrfs-progs: subvolume create: add option -p option to create parent directoriesSidong Yang1-2/+43
2023-10-21btrfs-progs: scrub: use device's used_bytes to print summary for running scrubsQu Wenruo1-2/+15
2023-10-17btrfs-progs: convert device info to struct arrayDavid Sterba3-103/+86
2023-10-17btrfs-progs: convert chunk info to struct arrayDavid Sterba3-107/+96
2023-10-13btrfs-progs: qgroup: check null when comparing pathsSidong Yang1-0/+8
2023-10-13btrfs-progs: move inode cache removal to rescue groupQu Wenruo1-0/+52
2023-10-10btrfs-progs: fix all variable shadowingQu Wenruo2-5/+5
2023-10-06btrfs-progs: dump-tree: allow using '-' for tree idsQu Wenruo1-0/+7
2023-10-03btrfs-progs: clean up includes, using include-what-you-useDavid Sterba24-28/+61
2023-10-03btrfs-progs: update read_tree_block to take a btrfs_parent_tree_checkJosef Bacik3-15/+29
2023-10-03btrfs-progs: replace blocksize with parent argument for btrfs_alloc_tree_blockJosef Bacik1-2/+1
2023-10-03btrfs-progs: drop btrfs_init_pathJosef Bacik4-27/+13
2023-10-03btrfs-progs: update btrfs_print_leaf to match the kernel definitionJosef Bacik1-1/+1
2023-10-03btrfs-progs: update read_node_slot to match the kernel definitionJosef Bacik1-3/+2
2023-10-03btrfs-progs: pass btrfs_trans_handle through btrfs_clear_buffer_dirtyJosef Bacik1-1/+1
2023-10-03btrfs-progs: quota: add support for squotaBoris Burkov1-8/+29
2023-10-02btrfs-progs: replace errno with %m in cmd_inspect_list_chunks()Qu Wenruo1-3/+1
2023-10-02btrfs-progs: dump-tree: fix block group tree short nameDavid Sterba1-1/+1
2023-10-02btrfs-progs: add dump tree support for the raid stripe treeJohannes Thumshirn1-0/+5
2023-08-28btrfs-progs: rename fs_devices::list to match the kernelAnand Jain1-7/+7
2023-08-28btrfs-progs: fix improper error handling in btrfs filesystem usageJosef Bacik1-5/+3
2023-08-28btrfs-progs: rename and move get_device_infoDavid Sterba1-1/+1
2023-08-28btrfs-progs: move sysfs related helpers to own fileDavid Sterba2-0/+2
2023-08-28btrfs-progs: list-chunks: port to sorting APIDavid Sterba1-41/+51
2023-08-28btrfs-progs: balance start: fix typo in help textFrancesco Yoshi Gobbo1-1/+1
2023-08-28btrfs-progs: use escaped format for subvolume path strings in jsonDavid Sterba1-3/+3
2023-08-28btrfs-progs: rename time-long format name to date-timeDavid Sterba1-3/+3
2023-08-28btrfs-progs: subvolume show: print all items unconditionally in jsonDavid Sterba1-18/+7
2023-08-28btrfs-progs: subvolume: rename some json key namesDavid Sterba1-6/+6
2023-08-28btrfs-progs: subvolume: move json format output under experimentalDavid Sterba2-0/+18
2023-08-28btrfs-progs: subvol show: implement json format outputChristoph Heiss1-10/+98
2023-08-28btrfs-progs: subvol get-default: implement json format outputChristoph Heiss1-4/+23
2023-08-28btrfs-progs: subvol list: implement json format outputChristoph Heiss1-3/+88
2023-08-28btrfs-progs: subvol: introduce rowspec definition for json outputChristoph Heiss2-0/+49
2023-08-28btrfs-progs: subvol show: factor out text printing to own functionChristoph Heiss1-83/+107
2023-08-28btrfs-progs: subvol show: remove duplicated quotas error checkChristoph Heiss1-5/+0
2023-07-27btrfs-progs: list-chunks: rename variables, adjust LNumber starting pointDavid Sterba1-21/+21
2023-07-27btrfs-progs: list-chunks: update column namesDavid Sterba1-3/+3
2023-07-27btrfs-progs: list-chunks: reflow help text of --sortDavid Sterba1-6/+6
2023-07-27btrfs-progs: list-chunks: add sorting by lengthDavid Sterba1-1/+56
2023-07-27btrfs-progs: list-chunks: add sorting by usageDavid Sterba1-1/+24
2023-07-26btrfs-progs: replace: properly enqueue if there's another replace runningDavid Sterba1-9/+8
2023-07-26btrfs-progs: factor out btrfs_scan_argv_devicesAnand Jain1-34/+3
2023-07-26btrfs-progs: drop open_ctree_flags variable in cmd_inspect_dump_treeAnand Jain1-7/+5
2023-07-26btrfs-progs: rename struct open_ctree_flags to open_ctree_argsAnand Jain4-22/+22
2023-07-26btrfs-progs: dump-super: fix read beyond device sizeAnand Jain1-3/+21
2023-07-26btrfs-progs: dump-super: drop the label out and variable retAnand Jain1-9/+4
2023-07-26btrfs-progs: dump-super: improve error message on failed readAnand Jain1-1/+2
2023-06-15btrfs-progs: scrub: unify the output numbers for "Total to scrub"Qu Wenruo1-7/+11
2023-05-26btrfs-progs: qgroup show: fix formatting of limit values in json outputDavid Sterba1-2/+2
2023-05-26btrfs-progs: dump-tree: skip tree-checker when dumpping tree blocksQu Wenruo1-1/+5
2023-05-26btrfs-progs: receive: output the parent subvolume uuid if it cannot be foundQu Wenruo1-2/+6
2023-05-26btrfs-progs: inspect: fix warnings reported by -Wmissing-prototypesAnand Jain1-4/+4
2023-05-26btrfs-progs: fix -Wmissing-prototypes warningsQu Wenruo3-3/+3
2023-05-26btrfs-progs: make reada_for_search staticJosef Bacik1-5/+0
2023-05-26btrfs-progs: update read_tree_block to match the kernel definitionJosef Bacik3-8/+14
2023-05-26btrfs-progs: pass root_id for btrfs_free_tree_blockJosef Bacik1-1/+2
2023-05-26btrfs-progs: rename clear_extent_buffer_dirty to btrfs_clear_buffer_dirtyJosef Bacik1-1/+1
2023-05-26btrfs-progs: add btrfs_locking_nest to btrfs_alloc_tree_blockJosef Bacik1-1/+1
2023-05-26btrfs-progs: rename btrfs_alloc_free_block to btrfs_alloc_tree_blockJosef Bacik1-1/+1
2023-05-26btrfs-progs: sync extent-io-tree.[ch] and misc.h from the kernelJosef Bacik1-1/+1
2023-05-26btrfs-progs: sync file-item.h into progsJosef Bacik2-0/+2
2023-05-26btrfs-progs: sync accessors.[ch] from the kernelJosef Bacik1-1/+1
2023-05-26btrfs-progs: sync uapi/btrfs.h into btrfs-progsJosef Bacik16-17/+17
2023-05-26btrfs-progs: rename the qgroup structs to match the kernelJosef Bacik1-12/+8
2023-05-26btrfs-progs: introduce UASSERT() for purely userspace codeJosef Bacik7-32/+32
2023-04-25btrfs-progs: inspect tree-stats: rephrase warning when run on a mounted files...David Sterba1-2/+3
2023-04-25btrfs-progs: subvol snapshot: adjust error message when there's an active swa...David Sterba1-2/+4
2023-04-25btrfs-progs: stop using legacy *64 interfacespsykose1-2/+2
2023-04-03btrfs-progs: balance: fix condition for recognizing old syntaxDavid Sterba1-1/+1
2023-03-17btrfs-progs: handle case if fsid not in sysfs in device_is_seedOliver Freyermuth1-1/+1
2023-03-16btrfs-progs: balance: warn when deprecated syntax is usedWang Yugui1-1/+2
2023-03-16btrfs-progs: balance: fix some cases wrongly parsed as old syntaxWang Yugui1-2/+18
2023-03-16btrfs-progs: restore: don't modify metadata in dry-run modeHolger Jakob1-1/+1
2023-03-16btrfs-progs: restore: fix restoring xattrs on directoriesHolger Jakob1-3/+17
2023-03-16btrfs-progs: qgroup show: fix formatting of qgroupid on json outputDavid Sterba1-1/+1
2023-03-07btrfs-progs: dev stats: fix printing wrong values in tabular outputDavid Sterba1-23/+7
2023-02-28btrfs-progs: subvolume: convert help text to option formatterDavid Sterba2-36/+30
2023-02-28btrfs-progs: send: convert help text to option formatterDavid Sterba1-20/+14
2023-02-28btrfs-progs: scrub: convert help text to option formatterDavid Sterba1-19/+17
2023-02-28btrfs-progs: restore: convert help text to option formatterDavid Sterba1-25/+29
2023-02-28btrfs-progs: rescue: convert help text to option formatterDavid Sterba1-5/+5
2023-02-28btrfs-progs: replace: convert help text to option formatterDavid Sterba1-14/+12
2023-02-28btrfs-progs: reflink: convert help text to option formatterDavid Sterba1-2/+3
2023-02-28btrfs-progs: receive: convert help text to option formatterDavid Sterba1-19/+17
2023-02-28btrfs-progs: quota: convert help text to option formatterDavid Sterba1-3/+3
2023-02-28btrfs-progs: qgroup: convert help text to option formatterDavid Sterba1-20/+17
2023-02-28btrfs-progs: property: convert help text to option formatterDavid Sterba1-7/+4
2023-02-28btrfs-progs: inspect-internal: convert help text to option formatterDavid Sterba4-43/+39
2023-02-28btrfs-progs: filesystem: convert help text to option formatterDavid Sterba3-15/+14
2023-02-28btrfs-progs: device: convert help text to option formatterDavid Sterba1-14/+10
2023-02-28btrfs-progs: balance: convert help text to option formatterDavid Sterba1-12/+9
2023-02-28btrfs-progs: make usage call properly return an exit valueQu Wenruo8-12/+12
2023-02-28btrfs-progs: read fsid from the sysfs in device_is_seedAnand Jain1-7/+31
2023-02-28btrfs-progs: prepare helper device_is_seedAnand Jain1-3/+17
2023-02-28btrfs-progs: fi mkswapfile: add option --uuidDavid Sterba1-4/+23
2023-02-28btrfs-progs: build: use plain fcntl.h instead of sys/fcntl.hDavid Sterba2-2/+2
2023-02-18btrfs-progs: fix set but not used variablesQu Wenruo1-2/+0
2023-02-18btrfs-progs: fix fallthrough cases with proper attributesQu Wenruo2-6/+6
2023-02-18btrfs-progs: receive: fix a corruption when decompressing zstd extentsFilipe Manana1-0/+9
2023-01-25btrfs-progs: subvol sync: print count and progressDavid Sterba1-2/+6
2023-01-25btrfs-progs: fi mkswapfile: fix page count in headerDavid Sterba1-11/+29
2023-01-05btrfs-progs: inspect: add build conditionals around list-chunkDavid Sterba1-0/+4
2023-01-03Revert "btrfs-progs: rename qgroup items to match the kernel naming scheme"David Sterba3-40/+45
2023-01-02btrfs-progs: subvol list: fix the wrong timestamp and UUID check for root itemsQu Wenruo1-2/+9
2022-12-16btrfs-progs: device stats: fix json formatter type for devidDavid Sterba1-1/+1
2022-12-16btrfs-progs: use escaped json format for pathsDavid Sterba2-2/+2
2022-12-14btrfs-progs: qgroup show: add json outputDavid Sterba1-2/+82
2022-12-07btrfs-progs: add new group reflink and commandDavid Sterba2-0/+205
2022-12-06btrfs-progs: fi mkswapfile: update help textDavid Sterba1-1/+5
2022-12-06btrfs-progs: fi df: implement json outputDavid Sterba1-3/+47
2022-12-06btrfs-progs: inspect: new command map-swapfileDavid Sterba1-0/+414
2022-12-05btrfs-progs: inspect: new subcommand to list chunksDavid Sterba1-0/+426
2022-11-30btrfs-progs: don't use btrfs_header_csum helperJosef Bacik1-2/+1
2022-11-30btrfs-progs: sync compression.h from the kernelJosef Bacik2-1/+3
2022-11-28btrfs-progs: stop using btrfs_root_item_v0Josef Bacik1-2/+2
2022-11-28btrfs-progs: ioctl: move dev-replace NO_RESULT definition into replace.cJosef Bacik1-0/+2
2022-11-28btrfs-progs: make btrfs_qgroup_level helper match the kernelJosef Bacik1-8/+8
2022-11-28btrfs-progs: rename qgroup items to match the kernel naming schemeJosef Bacik3-41/+36
2022-11-24btrfs-progs: receive: fix silent data loss after fall back from encoded writeFilipe Manana1-7/+8
2022-11-24btrfs-progs: receive: add debug messages when processing fallocateFilipe Manana1-0/+5
2022-11-24btrfs-progs: receive: add debug messages when processing encoded writesFilipe Manana1-0/+10
2022-11-24btrfs-progs: defrag: fix verbosity with default levelDavid Sterba1-3/+19
2022-11-24btrfs-progs: receive: work around failure of fileattr commandsFilipe Manana1-18/+26
2022-11-24Revert "btrfs-progs: resize: return error value from check_resize_args()"David Sterba1-2/+1
2022-11-08btrfs-progs: filesystem: new subcommand mkswapfileDavid Sterba1-0/+132
2022-10-26btrfs-progs: subvol: fix help text reference to subvolumeDavid Sterba1-1/+1
2022-10-26btrfs-progs: qgroups: update help textsDavid Sterba1-5/+14
2022-10-26btrfs-progs: replace strerror(errno) with %m in printf formatsDavid Sterba3-8/+12
2022-10-26btrfs-progs: unify naming of qgroup subvolid helpersDavid Sterba1-11/+11
2022-10-26btrfs-progs: qgroup: new command to delete stale qgroupsDavid Sterba1-0/+67