aboutsummaryrefslogtreecommitdiffstats
path: root/common
AgeCommit message (Expand)AuthorFilesLines
2024-04-30btrfs-progs: reorder key initializationsDavid Sterba4-6/+6
2024-04-30btrfs-progs: use POSIX semantics of basenameDavid Sterba2-2/+6
2024-04-30btrfs-progs: add basename wrappers for unified semanticsDavid Sterba3-2/+32
2024-04-18btrfs-progs: initialize all return parameters in btrfs_test_for_multiple_prof...David Sterba1-1/+5
2024-04-18btrfs-progs: properly close va_copy in fmt_set_unquoted()David Sterba1-1/+4
2024-04-18btrfs-progs: use local path buffer in path_is_in_dir()David Sterba1-2/+3
2024-04-18btrfs-progs: string-table: fix memory leak on exit path in table_vprintf()David Sterba1-0/+1
2024-04-18btrfs-progs: fix freeing of device after error in btrfs_add_to_fsid()David Sterba1-4/+3
2024-03-16btrfs-progs: print error when zeroing device fails in device_zero_blocks()David Sterba1-1/+4
2024-03-16btrfs-progs: handle write errors in btrfs_add_to_fsid()David Sterba3-1/+9
2024-03-16btrfs-progs: unify tree search header accessDavid Sterba1-22/+18
2024-03-16btrfs-progs: use TREE_SEARCH ioctl wrappers for all non-library codeDavid Sterba2-43/+46
2024-03-16btrfs-progs: temporarily disable usage of v2 of search tree ioctlDavid Sterba1-0/+6
2024-03-16btrfs-progs: add API for selecting tree search support and ioctlDavid Sterba2-0/+57
2024-03-15btrfs-progs: handle internal errors in btrfs_assert_feature_buf_size()David Sterba1-2/+11
2024-03-15btrfs-progs: handle transaction start failure in set_label_unmounted()David Sterba1-1/+4
2024-03-15btrfs-progs: handle range overlaps in extent-tree-utils.cDavid Sterba3-2/+13
2024-03-15btrfs-progs: handle btfs_del_items() failure in truncate_free_ino_items()David Sterba1-1/+5
2024-03-12btrfs-progs: make all parameters of rb_tree search/insert constDavid Sterba3-18/+17
2024-02-20btrfs-progs: rename btrfs_open_fd2() to btrfs_open_path()David Sterba2-4/+4
2024-02-20btrfs-progs: drop _fd from btrfs_open_file_or_dir_fd()David Sterba3-3/+3
2024-02-20btrfs-progs: drop _fd from btrfs_open_mnt_fd()David Sterba2-2/+2
2024-02-20btrfs-progs: drop _fd from btrfs_open_dir_fd()David Sterba2-4/+5
2024-02-20btrfs-progs: use wrapper btrfs_open_dir_fd() in btrfs_open_mnt_fd()David Sterba1-1/+1
2024-02-20btrfs-progs: drop verbosity parameter from btrfs_open_fd2()David Sterba2-10/+10
2024-02-20btrfs-progs: drop verbosity parameter from btrfs_open_mnt_fd()David Sterba2-4/+4
2024-02-20btrfs-progs: use btrfs_open_file_or_dir_fd for error verbosityDavid Sterba1-2/+2
2024-02-20btrfs-progs: switch open helper functions to return negative errnoDavid Sterba2-10/+12
2024-02-20btrfs-progs: remove unused opening functionsGoffredo Baroncelli2-144/+0
2024-02-20btrfs-progs: replace open_file_or_dir with btrfs_open_fd2Goffredo Baroncelli1-3/+2
2024-02-20btrfs-progs: replace btrfs_open_dir with btrfs_open_dir_fdGoffredo Baroncelli2-7/+3
2024-02-20btrfs-progs: add path opening helpers without dirstreamGoffredo Baroncelli2-0/+80
2024-02-20btrfs-progs: fix exclusive op enqueue timeoutDavid Sterba1-1/+20
2024-02-13btrfs-progs: mkfs: update descriptions of -O/--featuresDavid Sterba1-5/+5
2024-02-13btrfs-progs: mkfs: warn if page does not match sectorsizeDavid Sterba1-2/+4
2024-02-08btrfs-progs: remove unused BTRFS_UPDATE_KERNELDavid Sterba1-2/+0
2024-02-08btrfs-progs: convert defined constants to enumsDavid Sterba2-11/+17
2024-01-31btrfs-progs: convert: add raid-stripe-tree to allowed featuresDavid Sterba1-1/+2
2024-01-18btrfs-progs: implement arg_strtou64_with_suffix() with a new helperQu Wenruo4-30/+65
2024-01-18btrfs-progs: use parse_u64() to implement arg_strtou64()Qu Wenruo3-17/+30
2024-01-17btrfs-progs: convert: insert a dummy inode item before inode ref for ext2/4Qu Wenruo1-0/+16
2024-01-16btrfs-progs: add extra chunk alignment checksQu Wenruo2-0/+21
2023-12-09btrfs-progs: change all sysfs helpers to return errnoDavid Sterba3-7/+19
2023-12-09btrfs-progs: add write helpers for sysfs filesDavid Sterba2-4/+66
2023-12-01btrfs-progs: print a message when enqueued operation is waitingDavid Sterba1-0/+5
2023-12-01btrfs-progs: reset errno before strtoull()David Sterba2-0/+3
2023-12-01btrfs-progs: use get_sysfs_proto_supported() in device_get_zone_unusable()David Sterba1-14/+10
2023-11-14btrfs-progs: fix -Walloc-size warnings reported by gcc 14Sam James1-1/+1
2023-11-03btrfs-progs: open path in non-blocking mode when reading fs idDavid Sterba1-1/+17
2023-11-03btrfs-progs: add support for dry-run optionsDavid Sterba3-1/+16
2023-11-03btrfs-progs: common: drop unsigned long long casts for printfDavid Sterba2-10/+4
2023-11-03btrfs-progs: add support for generic global parametersDavid Sterba3-0/+54
2023-10-17btrfs-progs: move raid-stripe-tree and squota build out of experimentalDavid Sterba1-2/+0
2023-10-17btrfs-progs: add sysfs name for raid-stripe-treeDavid Sterba1-2/+2
2023-10-17btrfs-progs: fix sysfs name of squotaDavid Sterba1-1/+1
2023-10-17btrfs-progs: mkfs: add short aliases for long feature namesDavid Sterba1-1/+47
2023-10-17btrfs-progs: mkfs: sort features by compat versionDavid Sterba1-17/+23
2023-10-13btrfs-progs: move clear-cache.[ch] from check/ to common/ directoryQu Wenruo2-0/+649
2023-10-10btrfs-progs: pull in the full max/min/clamp implementation from kernelQu Wenruo1-17/+130
2023-10-03btrfs-progs: clean up includes, using include-what-you-useDavid Sterba25-22/+54
2023-10-03btrfs-progs: move btrfs_record_file_extent and code into a new fileJosef Bacik2-0/+302
2023-10-03btrfs-progs: mkfs: add support for squotaBoris Burkov1-0/+9
2023-10-02btrfs-progs: allow zoned RAIDJohannes Thumshirn1-0/+8
2023-10-02btrfs-progs: increase size of BTRFS_FEATURE_STRING_BUF_SIZEDavid Sterba1-1/+1
2023-09-13btrfs-progs: detect PCLMUL CPU support for accelerated crc32cDavid Sterba2-0/+6
2023-08-28btrfs-progs: rename fs_devices::list to match the kernelAnand Jain1-1/+1
2023-08-28btrfs-progs: rename and move get_device_infoDavid Sterba4-16/+16
2023-08-28btrfs-progs: crypto: make the PCL implementation default for crc32cDavid Sterba2-5/+0
2023-08-28btrfs-progs: crypto: add PCL based implementation for crc32cDavid Sterba2-0/+5
2023-08-28btrfs-progs: rename prefixcmp to string_has_prefixDavid Sterba3-5/+3
2023-08-28btrfs-progs: add more helpers to read values from sysfsDavid Sterba2-1/+41
2023-08-28btrfs-progs: move sysfs related helpers to own fileDavid Sterba6-77/+124
2023-08-28btrfs-progs: add sorting APIDavid Sterba2-0/+146
2023-08-28btrfs-progs: add an extensible pointer array structDavid Sterba2-0/+135
2023-08-28btrfs-progs: print null value for empty uuid in jsonDavid Sterba1-3/+16
2023-08-28btrfs-progs: rename time-long format name to date-timeDavid Sterba2-2/+2
2023-08-28btrfs-progs: print numeric values unquoted in jsonDavid Sterba1-2/+5
2023-08-28btrfs-progs: document json format strDavid Sterba1-0/+2
2023-08-28btrfs-progs: add bool type to jsonDavid Sterba2-0/+9
2023-08-28btrfs-progs: support unquoted values in jsonDavid Sterba2-0/+12
2023-08-28btrfs-progs: common: document time-long output formatChristoph Heiss1-0/+2
2023-07-27btrfs-progs: help: indent option description newlinesDavid Sterba1-1/+3
2023-07-27btrfs-progs: add simple error injection frameworkDavid Sterba2-0/+123
2023-07-26btrfs-progs: add btrfs-find-root to btrfs.boxDavid Sterba1-0/+1
2023-07-26btrfs-progs: add noscan parameter to check_where_mountedAnand Jain3-5/+9
2023-07-26btrfs-progs: factor out btrfs_scan_argv_devicesAnand Jain2-0/+40
2023-07-26btrfs-progs: switch is_btrfs to bool in check_mounted_whereAnand Jain1-1/+1
2023-05-26btrfs-progs: sync send.h from kernelDavid Sterba1-3/+3
2023-05-26btrfs-progs: constify the buffer pointer for write functionsQu Wenruo1-3/+3
2023-05-26btrfs-progs: split btrfs_direct_pio() functions into read and writeQu Wenruo2-29/+60
2023-05-26btrfs-progs: fix -Wmissing-prototypes warningsQu Wenruo2-2/+2
2023-05-26btrfs-progs: sync async-thread.[ch] from the kernelJosef Bacik1-0/+4
2023-05-26btrfs-progs: add musl compatibility for printf format %pVDavid Sterba2-4/+25
2023-05-26btrfs-progs: add struct va_format support to our btrfs_no_printk helperJosef Bacik1-0/+31
2023-05-26btrfs-progs: sync messages.[ch] from the kernelJosef Bacik2-0/+29
2023-05-26btrfs-progs: sync uapi/btrfs.h into btrfs-progsJosef Bacik7-7/+7
2023-05-26btrfs-progs: consolidate the btrfs message helpersJosef Bacik2-38/+24
2023-05-26btrfs-progs: remove the _on() related message helpersJosef Bacik2-47/+6
2023-05-26btrfs-progs: move BTRFS_DISABLE_BACKTRACE check in print_traceJosef Bacik1-3/+0
2023-05-26btrfs-progs: introduce UASSERT() for purely userspace codeJosef Bacik3-4/+10
2023-04-17btrfs-progs: mkfs: remove block-group-tree from -RDavid Sterba1-9/+0
2023-04-17btrfs-progs: move block-group-tree out of experimental featuresQu Wenruo1-3/+1
2023-04-17btrfs-progs: mkfs: make -R|--runtime-features option deprecatedQu Wenruo1-6/+0
2023-04-03btrfs-progs: path-utils: rename path_is_mount_point to avoid potential symbol...David Sterba3-5/+9
2023-03-16btrfs-progs: qgroup show: fix formatting of qgroupid on json outputDavid Sterba1-2/+6
2023-02-28btrfs-progs: convert common options to option formatterDavid Sterba2-24/+25
2023-02-28btrfs-progs: make usage call properly return an exit valueQu Wenruo2-4/+4
2023-02-28btrfs-progs: add special CPU flag bit representing no featuresDavid Sterba2-3/+5
2023-02-18btrfs-progs: add run-time CPU feature detectionDavid Sterba2-0/+172
2023-02-18btrfs-progs: fix fallthrough cases with proper attributesQu Wenruo3-10/+10
2023-01-25btrfs-progs: help: change how padding is printedDavid Sterba1-18/+22
2023-01-25btrfs-progs: help: add option text formatting infrastructureDavid Sterba2-0/+64
2022-12-16btrfs-progs: add json formatter for escaped stringDavid Sterba1-0/+46
2022-12-14btrfs-progs: qgroup show: add json outputDavid Sterba1-1/+2
2022-12-05btrfs-progs: string-table: add ranged API for printing and clearingDavid Sterba2-6/+68
2022-12-05btrfs-progs: string-table: check bounds before writing to a cellDavid Sterba1-0/+7
2022-12-05btrfs-progs: string-table: cleanup and enhance formatting capabilitiesDavid Sterba2-24/+35
2022-11-30btrfs-progs: sync compression.h from the kernelJosef Bacik1-0/+1
2022-11-28btrfs-progs: ioctl: move btrfs_err_str into common/utils.hJosef Bacik1-0/+30
2022-11-24btrfs-progs: receive: fix parsing of attributes field from the fileattr commandFilipe Manana1-1/+1
2022-10-20btrfs-progs: add warning helper for experimental buildDavid Sterba2-0/+9
2022-10-17btrfs-progs: mkfs: fix compat version of block-group-treeDavid Sterba1-2/+2
2022-10-11btrfs-progs: mkfs: fix a stack over-flow when features string are too longQu Wenruo2-0/+33
2022-10-11btrfs-progs: fsfeatures: properly merge -O and -R optionsQu Wenruo2-108/+157
2022-10-11btrfs-progs: add helper to print messages to stderrDavid Sterba2-0/+21
2022-10-11btrfs-progs: factor out check for message levelDavid Sterba1-6/+14
2022-10-11btrfs-progs: add logic to handle LOG_DEFAULT messagesDavid Sterba1-1/+3
2022-10-11btrfs-progs: use common define error and warning message prefixesDavid Sterba1-7/+10
2022-10-11btrfs-progs: device-utils: rename btrfs_device_sizeDavid Sterba2-9/+8
2022-10-11btrfs-progs: use our ASSERT macro everywhereDavid Sterba1-2/+2
2022-10-11btrfs-progs: use template for transaction commit error messagesDavid Sterba2-0/+2
2022-10-11btrfs-progs: use template for transaction start error messagesDavid Sterba2-0/+2
2022-10-11btrfs-progs: use template for out of memory error messagesDavid Sterba2-4/+3
2022-10-11btrfs-progs: add template for common error messagesDavid Sterba2-0/+33
2022-10-11btrfs-progs: introduce more message levelsDavid Sterba1-1/+18
2022-10-11btrfs-progs: rename MUST_LOG to LOG_ALWAYSDavid Sterba1-1/+1
2022-10-11btrfs-progs: factor out common message helper for internal errorsDavid Sterba4-10/+27
2022-10-11btrfs-progs: move repair.c from common/ to check/David Sterba2-347/+0
2022-10-11btrfs-progs: receive: add support for fs-verityBoris Burkov2-0/+19
2022-10-11btrfs-progs: hide block group tree behind experimental featureQu Wenruo1-3/+6
2022-10-11btrfs-progs: use warning helper for multiple profile messagesDavid Sterba1-13/+6
2022-10-11btrfs-progs: use error helper for messages in non-kernel codeDavid Sterba3-17/+13
2022-10-11btrfs-progs: common: update include lists, part 1David Sterba31-33/+89
2022-10-11btrfs-progs: cmds: update include listsDavid Sterba1-0/+5
2022-10-11btrfs-progs: factor filesystem helpers out of utils.cDavid Sterba4-193/+243
2022-10-11btrfs-progs: move parse_qgroupid_or_path to parse-utilsDavid Sterba4-41/+47
2022-10-11btrfs-progs: factor string helpers out of utils.cDavid Sterba6-58/+102
2022-10-11btrfs-progs: prepare merging compat feature listsDavid Sterba1-2/+60
2022-10-11btrfs-progs: fix path to internal libbtrfsutil includesDavid Sterba1-1/+1
2022-10-11btrfs-progs: common: reorder includesDavid Sterba14-43/+36
2022-10-11btrfs-progs: factor out and export rotational/ssd device helperDavid Sterba2-0/+13
2022-10-11btrfs-progs: unexport csum_tree_block()Qu Wenruo1-2/+0
2022-09-12btrfs-progs: mkfs: drop numeric flag from -O and -R option listDavid Sterba1-7/+11
2022-09-12btrfs-progs: separate block group tree from extent tree v2Qu Wenruo2-0/+10
2022-08-16btrfs-progs: use linux mount.h instead of sys/mount.hKhem Raj1-1/+0
2022-08-16btrfs-progs: receive: implement FILEATTR commandDavid Sterba2-5/+5
2022-08-16btrfs-progs: add constant for initial getopt valuesDavid Sterba1-10/+13
2022-06-07btrfs-progs: receive: process setflags ioctl commandsBoris Burkov2-0/+8
2022-06-07btrfs-progs: receive: process fallocate commandsBoris Burkov2-0/+11
2022-06-07btrfs-progs: receive: process encoded_write commandsBoris Burkov2-0/+33
2022-06-07btrfs-progs: receive: support v2 send stream DATA tlv formatBoris Burkov1-10/+26
2022-06-07btrfs-progs: receive: dynamically allocate sctx->read_bufBoris Burkov1-20/+40
2022-06-06btrfs-progs: receive: support v2 send stream larger tlv_lenBoris Burkov1-9/+25
2022-06-06btrfs-progs: libbtrfs: drop ifdef BTRFS_FLAT_INCLUDES where not necessaryDavid Sterba1-5/+0
2022-05-03btrfs-progs: make device add and paused balance work togetherDavid Sterba2-0/+11
2022-03-09btrfs-progs: check: handle the block group tree properlyJosef Bacik1-0/+3
2022-03-08btrfs-progs: repair: bail if we find an unaligned extentJosef Bacik1-4/+14
2022-02-01btrfs-progs: fix a bunch of typosAdam Borowski1-2/+2
2021-11-30btrfs-progs: common: allow users to select extent-tree-v2 optionJosef Bacik1-0/+11
2021-11-30btrfs-progs: search all extent roots for marking used spaceJosef Bacik2-44/+100
2021-11-30btrfs-progs: stop accessing ->extent_root directlyJosef Bacik1-3/+2
2021-11-22btrfs-progs: mark reloc roots as usedJosef Bacik1-4/+0
2021-11-22btrfs-progs: check: move btrfs_mark_used_tree_blocks to commonJosef Bacik2-0/+107
2021-11-22btrfs-progs: move btrfs_fix_block_accounting to repair.cJosef Bacik2-0/+76
2021-11-18btrfs-progs: fix discard support checkWang Yugui1-2/+2
2021-11-05btrfs-progs: remove temporary buffer for super blockQu Wenruo2-21/+10
2021-11-05btrfs-progs: make "btrfs filesystem df" command show upper case profileQu Wenruo2-6/+6
2021-11-05btrfs-progs: mask out all unwanted profiles in btrfs_group_profile_strWang Yugui1-1/+1
2021-10-29btrfs-progs: receive: add missing unused inode number reads from the streamDavid Sterba1-0/+13
2021-10-20btrfs-progs: introduce helper to get allowed profiles for a given device numberDavid Sterba1-17/+2
2021-10-20btrfs-progs: use raid table for devs_min and replace local helperDavid Sterba1-23/+2
2021-10-20btrfs-progs: introduce btrfs_pread wrapper for preadNaohiro Aota1-0/+10
2021-10-20btrfs-progs: introduce btrfs_pwrite wrapper for pwriteNaohiro Aota2-5/+90
2021-10-08btrfs-progs: drop ZONED flag from BTRFS_CONVERT_ALLOWED_FEATURESNaohiro Aota1-2/+1
2021-10-08btrfs-progs: remove c++ protection from internal headersDavid Sterba1-8/+0
2021-10-08btrfs-progs: remove unused subvol_uuid_search_addDavid Sterba2-9/+0
2021-10-08btrfs-progs: merge subvol_uuid_search helpersDavid Sterba2-24/+1
2021-10-08btrfs-progs: simplify struct subvol_uuid_search useDavid Sterba2-18/+12
2021-10-08btrfs-progs: open code subvol_uuid_search_initDavid Sterba2-8/+0
2021-10-08btrfs-progs: remove empty subvol_uuid_search_finitDavid Sterba2-5/+0
2021-10-08btrfs-progs: remove unused prototypes from send-utils.hDavid Sterba1-3/+0
2021-10-08btrfs-progs: drop slow subvol uuid searchDavid Sterba2-397/+0
2021-10-08btrfs-progs: use btrfs_subvolid_resolve instead of btrfs_list_path_for_rootDavid Sterba1-8/+10
2021-10-08btrfs-progs: don't include btrfs-list.h unless necessaryDavid Sterba2-2/+0
2021-10-08btrfs-progs: libbtrfs: merge utils-lib.c back to utils.cDavid Sterba2-82/+57
2021-10-08btrfs-progs: libbtrfs: remove unneeded BTRFS_FLAT_INCLUDES protectionsDavid Sterba1-5/+0
2021-10-08btrfs-progs: mkfs: enable space_cache=v2 (free-space-tree) by defaultDavid Sterba2-1/+4
2021-10-08btrfs-progs: mkfs: enable NO_HOLES by defaultDavid Sterba2-1/+2
2021-10-08btrfs-progs: refactor feature table initializations to C99-styleDavid Sterba1-55/+102
2021-10-08btrfs-progs: remove BTRFS_FLAT_INCLUDES from internal send headersDavid Sterba2-31/+0