Commit Graph

184 Commits

Author SHA256 Message Date
David Sterba
9d8d78e64c Accepting request 313576 from home:dsterba:branches:filesystems
- spec: drop libacl dependency

OBS-URL: https://build.opensuse.org/request/show/313576
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=201
2015-06-24 14:41:21 +00:00
David Sterba
57f625732d Accepting request 313123 from home:dsterba:branches:filesystems
- version 4.1

OBS-URL: https://build.opensuse.org/request/show/313123
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=200
2015-06-22 15:24:39 +00:00
David Sterba
2aadda9793 Accepting request 309743 from home:1Antoine1:branches:filesystems
- Install bash completion for btrfs.

OBS-URL: https://build.opensuse.org/request/show/309743
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=198
2015-06-02 08:52:35 +00:00
David Sterba
91d7339157 Accepting request 304719 from home:dsterba:branches:filesystems
- version 4.0
  * resize:
    * don't accept file as an argument (it's confusing)
    * print better error message in case of an error
  * restore: optionally restore metadata (time, mode, uid/gid)
  * receive: optionally enforce chroot
  * new rescue subcommand 'zero-log', same as btrfs-zero-log, but
    now also part of the main utility
  * check:
    * free space checks match kernel, fixes incorrect reports
  * convert: fix setting of checksum bit if --no-datasum is used
  * fsck.btrfs: don't print messages
  * fix quota rescan on PPC64 (mangled ioctl number)
  * test updates
  * documentation: files renamed to .asciidoc, misc fixups

OBS-URL: https://build.opensuse.org/request/show/304719
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=196
2015-04-29 15:40:15 +00:00
David Sterba
6f79b4f5ad Accepting request 293176 from home:dsterba:branches:filesystems
- version 3.19.1
  - convert:
    - new option to specify metadata block size
    - --no-progress actually works
  - restore: properly handle the page boundary corner case
  - build fixes:
    - missing macro from public header, BTRFS_BUILD_VERSION
    - wrong handling of --enable-convert
  - fi usage: reports correct space for degraded mounts
  - other:
    - mkfs: help string updates
    - completion: added 'usage' subcommands
    - cleanups in qgroup code, preparatory work

OBS-URL: https://build.opensuse.org/request/show/293176
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=194
2015-03-25 22:08:05 +00:00
David Sterba
1e605498e8 Accepting request 290341 from home:dsterba:branches:filesystems
version update

OBS-URL: https://build.opensuse.org/request/show/290341
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=192
2015-03-11 21:11:24 +00:00
David Sterba
d76ad0aad8 - add COPYING
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=191
2015-03-02 09:58:58 +00:00
David Sterba
1f6c80c8d3 Accepting request 283354 from home:dsterba:branches:filesystems
OBS-URL: https://build.opensuse.org/request/show/283354
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=189
2015-01-29 15:38:40 +00:00
David Sterba
8eea5f2437 Accepting request 281321 from home:dsterba:branches:filesystems
- version 3.18.1
  - minor fixes
  - documentation updates

OBS-URL: https://build.opensuse.org/request/show/281321
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=187
2015-01-15 09:19:49 +00:00
David Sterba
e44fad07d1 Accepting request 266874 from home:dsterba:branches:filesystems
- version 3.18
  - mkfs - skinny-metadata feature is now on by default, first introduced in
    kernel 3.10
  - filesystem usage - give an overview of fs usage in a way that's more
    comprehensible than existing 'fi df'
  - device usage - more detailed information about per-device allocations
  - check:
    - option to set a different tree root byte number
    - ability to link lost files to lost+found, caused by a recent kernel bug
    - repair of severely corrupted fs (use with care)
  - convert - option to show progress
  - subvol create - print the commit mode inline, print the global mode only if --verbose
  - other updates: musl-libc support, coverity bugfixes, new test images,
    documentation
- Removed patches (upstreamed):
  * 0010-btrfs-progs-move-group-type-and-profile-pretty-print.patch
  * 0011-btrfs-progs-Enhance-the-command-btrfs-filesystem-df.patch
  * 0012-btrfs-progs-Add-helpers-functions-to-handle-the-prin.patch
  * 0013-btrfs-progs-Add-command-btrfs-filesystem-disk-usage.patch
  * 0014-btrfs-progs-Add-btrfs-device-disk-usage-command.patch
  * 0015-btrfs-progs-cleanup-dead-return-after-usage-for-fi-d.patch
  * 0016-btrfs-progs-Fix-memleak-in-get_raid56_used.patch
  * 0017-Btrfs-progs-fi-usage-free-memory-if-realloc-fails.patch
  * 0019-btrfs-progs-add-original-df-and-rename-disk_usage-to.patch
  * 0020-btrfs-progs-move-device-usage-to-cmds-device-more-cl.patch
  * 0021-btrfs-progs-check-if-we-can-t-get-info-from-ioctls-d.patch
  * 0022-btrfs-progs-zero-out-structures-before-calling-ioctl.patch
  * 0024-btrfs-progs-Print-more-info-about-device-sizes.patch
  * 0025-btrfs-progs-compare-unallocated-space-against-the-co.patch
  * 0026-btrfs-progs-add-section-of-overall-filesystem-usage.patch
  * 0027-btrfs-progs-cleanup-filesystem-device-usage-code.patch
  * 0028-btrfs-progs-rework-calculations-of-fi-usage.patch
  * 0029-btrfs-progs-replace-df_pretty_sizes-with-pretty_size.patch
  * 0030-btrfs-progs-clean-up-return-codes-and-paths.patch
  * 0031-btrfs-progs-move-global-reserve-to-overall-summary.patch

OBS-URL: https://build.opensuse.org/request/show/266874
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=185
2014-12-30 17:41:55 +00:00
David Sterba
4edaaf6e90 Accepting request 264044 from home:dsterba:branches:filesystems
- version 3.17.3
  - convert: fix conversion of sparse ext* filesystems
  - show: resolve to the correct path
  - fsck: more verbose error for root dir problems

OBS-URL: https://build.opensuse.org/request/show/264044
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=183
2014-12-04 15:20:25 +00:00
David Sterba
fd8d661819 remove conditionals around sources
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=182
2014-11-25 15:35:36 +00:00
David Sterba
c603067694 Accepting request 262336 from home:dsterba:branches:filesystems
- version 3.17.2
  - check improvements
    - add ability to replace missing dir item/dir indexes
    - fix missing inode items
    - create missing root dirid
  - corrupt block: enhancements for testing fsck
  - zero-log: able to reset a fs with bogus log tree pointer (bko#72151)

OBS-URL: https://build.opensuse.org/request/show/262336
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=181
2014-11-19 17:14:18 +00:00
David Sterba
5c8a9900f8 Accepting request 262304 from home:dsterba:branches:filesystems
- package mkinitrd scripts conditionally (bsc#893577)
- spec: minor updates

OBS-URL: https://build.opensuse.org/request/show/262304
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=180
2014-11-19 13:13:42 +00:00
David Sterba
1c7173541d Accepting request 260258 from home:dsterba:branches:filesystems
update to 3.17.1

OBS-URL: https://build.opensuse.org/request/show/260258
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=178
2014-11-07 15:19:30 +00:00
David Sterba
70bfa62031 Accepting request 259576 from home:dsterba:branches:filesystems
fix snapper build breakage

OBS-URL: https://build.opensuse.org/request/show/259576
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=177
2014-11-03 23:05:32 +00:00
David Sterba
3ee7e4de90 Accepting request 259501 from home:dsterba:branches:filesystems
- version 3.17
  - check: --init-csum-tree acutally does something useful, rebuilds the whole
    csum tree
  - /dev scanning for btrfs devices is gone
  - /proc/partitions scanning is gone, blkid is used exclusively
  - new subcommand subvolume sync
  - filesystem df: new options to set unit format
  - convert: allow to copy label from the origin, or specify a new one

(not all local patches are upstream, maybe next time)

OBS-URL: https://build.opensuse.org/request/show/259501
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=176
2014-11-03 13:17:26 +00:00
David Sterba
c0774a4e0b Accepting request 253874 from home:dsterba:branches:filesystems
- version 3.16.2
  - fsck: handle bad extent mapping
  - image: make it work on a balanced fs
  - btrfs-show-super: print flags in human readable way
  - documentation updates

OBS-URL: https://build.opensuse.org/request/show/253874
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=174
2014-10-03 22:04:19 +00:00
David Sterba
610e9bfd8c Accepting request 251480 from home:dsterba:branches:filesystems
upstream release, update local patches tha are going to be merged in the next release (fingers crossed)

OBS-URL: https://build.opensuse.org/request/show/251480
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=172
2014-09-22 21:20:45 +00:00
David Sterba
c9638392a2 Accepting request 247709 from home:dsterba:branches:filesystems
snapper has been updated, remove the workaround

OBS-URL: https://build.opensuse.org/request/show/247709
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=170
2014-09-05 13:07:02 +00:00
David Sterba
9d838c0f72 Accepting request 247054 from home:dsterba:branches:filesystems
- workaround for send api breakage
- Added patch: send-stream-api-wokaround.patch

OBS-URL: https://build.opensuse.org/request/show/247054
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=169
2014-09-01 12:13:05 +00:00
David Sterba
6ad0ff7ce9 Accepting request 246660 from home:dsterba:branches:filesystems
- add api versioning and package version.h (now 0.1.1)
- Added patches:
  * library-version-defines.patch

OBS-URL: https://build.opensuse.org/request/show/246660
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=168
2014-08-27 15:28:32 +00:00
David Sterba
3821ed946a Accepting request 246571 from home:dsterba:branches:filesystems
- version 3.16
  - show-super: skip unrecognized sb, add option to force
  - debug-tree: print tree by id
  - mkfs: new option to specify UUID
  - receive: new option to limit number of errors
  - check: new option to verify quotas
  - check: reduced memory requirements
  - check: new option to print extent sharing
  - restore: check length before decompression
  - restore: more error handling
  - balance: new filter 'limit'
  - recover: allow to read all sb copies
  - restore: option to loop during restoring
  - mkfs: drop experimental notice
  - btrfstune: new option to force dangerous changes
  - documentation updates
- Deleted patches (upstream):
  * 0001-btrfs-progs-doc-fix-symlink-target-for-btrfsck.8.patch
  * 0200-btrfs-progs-print-qgroup-excl-as-unsigned.patch
  * 0201-btrfs-progs-import-ulist.patch
  * 0202-btrfs-progs-add-quota-group-verify-code.patch
  * 0203-btrfs-progs-show-extent-state-for-a-subvolume.patch
  * 0204-btrfs-progs-ignore-orphaned-qgroups-by-default.patch
  * btrfs-progs-canonicalize-pathnames-for-device-commands
- Refreshed patches:
  * 0006-Btrfs-progs-fsck-clear-out-log-tree-in-repair-mode.patch
  * 0011-btrfs-progs-Enhance-the-command-btrfs-filesystem-df.patch
  * 0012-btrfs-progs-Add-helpers-functions-to-handle-the-prin.patch
  * 0013-btrfs-progs-Add-command-btrfs-filesystem-disk-usage.patch
  * 0028-btrfs-progs-extend-pretty-printers-with-unit-mode.patch
  * 0164-btrfs-progs-convert-set-label-or-copy-from-origin.patch

OBS-URL: https://build.opensuse.org/request/show/246571
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=167
2014-08-26 18:51:30 +00:00
Mark Fasheh
77328e7180 Accepting request 240115 from home:mfasheh:branches:filesystems
- refresh references on the following patches:
  * 0200-btrfs-progs-print-qgroup-excl-as-unsigned.patch
  * 0201-btrfs-progs-import-ulist.patch
  * 0202-btrfs-progs-add-quota-group-verify-code.patch
  * 0203-btrfs-progs-show-extent-state-for-a-subvolume.patch
- btrfs-progs: ignore orphaned qgroups by default
- Added patch:
  * 0204-btrfs-progs-ignore-orphaned-qgroups-by-default.patch

OBS-URL: https://build.opensuse.org/request/show/240115
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=165
2014-07-09 18:40:57 +00:00
Mark Fasheh
e0420c6c89 Accepting request 239849 from home:mfasheh:branches:filesystems
- btrfs-progs: show extent state for a subvolume (bnc#865621)
- Added patch:
  * 0203-btrfs-progs-show-extent-state-for-a-subvolume.patch

OBS-URL: https://build.opensuse.org/request/show/239849
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=164
2014-07-07 23:39:48 +00:00
fa2002d5ac - btrfs-progs: canonicalize pathnames for device commands (bnc#880486).
- Added patch:
  * btrfs-progs-canonicalize-pathnames-for-device-commands

- fsck: fix checking on filesystems with large sectorsize (bnc#872286)
- Added patches:
  * 0171-btrfs-progs-make-free-space-checker-work-on-non-4k-s.patch

- Do not package btrfs-find-root and btrfs-select-super by default.
- Removed printing byte number for every slot (bnc#872364).
- Removed patch:
  * 0170-btrfs-progs-In-find-root-dump-bytenr-for-every-slot.patch

OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=162
2014-06-06 13:23:35 +00:00
David Sterba
4b765ed3cf Accepting request 236055 from home:dsterba:branches:filesystems
- update to upstream 3.14.2
  - man: separate pages for all subcommands
  - minor bugfixes
  - spec: removed upstreamed patches, update build dependencies
- Added patches:
  * 0001-btrfs-progs-doc-fix-symlink-target-for-btrfsck.8.patch
- Removed patches:
  * 0001-Btrfs-progs-fix-check-to-test-trim-support.patch
  * 0002-Btrfs-progs-fsck-fix-double-free-memory-crash.patch
  * 0003-Btrfs-progs-mkfs-Remove-zero_end-1-since-it-has-been.patch
  * 0004-btrfs-progs-fix-wrong-max-system-array-size-check-in.patch
  * 0005-btrfs-progs-move-arg_strtou64-to-a-separate-file-for.patch
  * 0009-btrfs-progs-prevent-close_root-if-the-root-to-close-.patch
  * 0010-btrfs-progs-fix-mkfs.btrfs-segfault-with-features-op.patch

OBS-URL: https://build.opensuse.org/request/show/236055
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=161
2014-06-02 15:01:45 +00:00
Mark Fasheh
9d69a3f78d Accepting request 233800 from home:mfasheh:branches:filesystems
- add quota group verify patches, sent to list near end of the week starting
  5/4/2014
  - updates btrfsck with the ability to verify quota groups

OBS-URL: https://build.opensuse.org/request/show/233800
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=158
2014-05-16 16:58:33 +00:00
David Sterba
6beb01c50d Accepting request 232435 from home:dsterba:branches:filesystems
- update to upstream 3.14.1
- mkfs:
  - fix TRIM detection
  - do not zero-out end of device unconditionally
  - no crash with --features option
- fsck:
  - clear log tree in repair mode
  - check reloc roots
- btrfs - reworked space reporting (bnc#873106)
  - btrfs fi usage - new command
  - btrfs dev usage - new command
  - btrfs fi df - enhanced output with GlobalReserve
- Removed patches:
  * 0001-btrfs-progs-move-arg_strtou64-to-a-separate-file-for.patch
- Added patches:
  * 0001-Btrfs-progs-fix-check-to-test-trim-support.patch
  * 0002-Btrfs-progs-fsck-fix-double-free-memory-crash.patch
  * 0003-Btrfs-progs-mkfs-Remove-zero_end-1-since-it-has-been.patch
  * 0004-btrfs-progs-fix-wrong-max-system-array-size-check-in.patch
  * 0005-btrfs-progs-move-arg_strtou64-to-a-separate-file-for.patch
  * 0006-Btrfs-progs-fsck-clear-out-log-tree-in-repair-mode.patch
  * 0007-Btrfs-progs-fsck-avoid-pinning-same-block-several-ti.patch
  * 0008-Btrfs-progs-fsck-add-ability-to-check-reloc-roots.patch
  * 0009-btrfs-progs-prevent-close_root-if-the-root-to-close-.patch
  * 0010-btrfs-progs-fix-mkfs.btrfs-segfault-with-features-op.patch
  * 0011-btrfs-progs-Enhance-the-command-btrfs-filesystem-df.patch
  * 0012-btrfs-progs-Add-helpers-functions-to-handle-the-prin.patch
  * 0013-btrfs-progs-Add-command-btrfs-filesystem-disk-usage.patch
  * 0014-btrfs-progs-Add-btrfs-device-disk-usage-command.patch
  * 0015-btrfs-progs-cleanup-dead-return-after-usage-for-fi-d.patch
  * 0016-btrfs-progs-Fix-memleak-in-get_raid56_used.patch
  * 0017-Btrfs-progs-fi-usage-free-memory-if-realloc-fails.patch
  * 0018-btrfs-progs-read-global-reserve-size-from-space-info.patch
  * 0019-btrfs-progs-add-original-df-and-rename-disk_usage-to.patch
  * 0020-btrfs-progs-move-device-usage-to-cmds-device-more-cl.patch
  * 0021-btrfs-progs-check-if-we-can-t-get-info-from-ioctls-d.patch
  * 0022-btrfs-progs-zero-out-structures-before-calling-ioctl.patch
  * 0023-btrfs-progs-print-B-for-bytes.patch
  * 0024-btrfs-progs-Print-more-info-about-device-sizes.patch
  * 0025-btrfs-progs-compare-unallocated-space-against-the-co.patch
  * 0026-btrfs-progs-add-section-of-overall-filesystem-usage.patch
  * 0027-btrfs-progs-cleanup-filesystem-device-usage-code.patch
  * 0028-btrfs-progs-extend-pretty-printers-with-unit-mode.patch
  * 0029-btrfs-progs-replace-df_pretty_sizes-with-pretty_size.patch
  * 0030-btrfs-progs-clean-up-return-codes-and-paths.patch
  * 0031-btrfs-progs-move-global-reserve-to-overall-summary.patch

OBS-URL: https://build.opensuse.org/request/show/232435
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=156
2014-05-02 14:21:40 +00:00
David Sterba
4687704315 Accepting request 231506 from home:coolo:branches:openSUSE:Factory
- own mkinitrd directories

OBS-URL: https://build.opensuse.org/request/show/231506
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=154
2014-04-27 23:44:02 +00:00
David Sterba
bf63e21a6a Accepting request 229730 from home:dsterba:branches:filesystems
SR: the 3.14 update breaks build of snapper due to missing symbol

- add missing symbol to library (bnc#873164)
- add version dependency for devel package
- Added patches:
  * 0001-btrfs-progs-move-arg_strtou64-to-a-separate-file-for.patch

OBS-URL: https://build.opensuse.org/request/show/229730
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=152
2014-04-11 11:48:03 +00:00
David Sterba
16faca8b7b Accepting request 229373 from home:dsterba:branches:filesystems
- fsck: fixes and enahancements to --init-extent-tree mode
- fsck: chunk-recover updates
- scrub: add force option -f
- send: check if subvolumes are read-only
- subvol snapshot: add options to affect commit behaviour
- btrfs: add properties command group
- restore: add dry-run option
- restore: fix restoring of compressed files
- mkfs: support for no-holes feature
- mkfs: option -r deals with hardlinks and relative paths
- mkfs: discard phase is interruptible
- documentation updates
- cleaned spec file
- Removed patches:
  * 0162-btrfs-progs-fix-loop-device-mount-checks.patch
  * 0165-Revert-btrfs-progs-update-options-in-find-root.c.patch
  * 0166-Btrfs-progs-add-some-verbose-output-to-find-root.patch
  * 0169-btrfs-progs-Check-metadata-mirrors-in-find-root.patch

OBS-URL: https://build.opensuse.org/request/show/229373
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=149
2014-04-08 11:58:43 +00:00
David Sterba
218848695f Accepting request 208357 from home:dsterba:branches:filesystems
Sync to a long-awaited upstream release. Version update. Only a handful of local packages that will be upstreamed later.

This set of changes is not suitable for direct copy to currently released products because there are changes in mkfs defaults (12.x, 13.x, SLES). Fine for Factory.

OBS-URL: https://build.opensuse.org/request/show/208357
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=147
2013-11-25 22:58:13 +00:00
Tomáš Chvátal
5be20c4ea7 Accepting request 205320 from home:dsterba:branches:filesystems
SR: a few fixes, aimed for 13.1 RC2

- fsck updates
- more mkfs sanity checks
- qgroup rescan wait

OBS-URL: https://build.opensuse.org/request/show/205320
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=144
2013-10-31 09:12:04 +00:00
08211c769b Accepting request 200992 from home:jeff_mahoney:testpkgs
- Remove udev rules file - udev packages one itself (bnc#839960).

OBS-URL: https://build.opensuse.org/request/show/200992
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=141
2013-09-26 21:22:32 +00:00
3707425039 - update to upstream master (194aa4a1)
- btrfs-restore: deal with NULL returns from read_node_slot
  - btrfs-restore: use the correct leafsize when reading the FS location
  - btrfs-find-root: Add options to control generation and level
  - btrfsck: fix incorrect casting on items in the corrupt_blocks tree
  - Btrfs-progs: fix closing of devices
  - Btrfs-progs: enhance btrfs-image to restore image onto multiple disks
  - Btrfs-progs: cleanup btrfs-image usage
  - Btrfs-progs: delete fs_devices itself from fs_uuid list before freeing
  - Btrfs-progs: skip open devices which is missing
  - Btrfs-progs: fix misuse of skinny metadata in btrfs-image
  - Btrfs-progs: recover raid0/raid10/raid5/raid6 metadata chunk
  - Btrfs-progs: Add chunk rebuild function for RAID1/SINGLE/DUP
  - Btrfs-progs: introduce list_{first, next}_entry/list_splice_tail{_init}
  - Btrfs-progs: Add chunk recover function - using old chunk items
  - Btrfs-progs: Add block group check funtion
  - Btrfs-progs: extend the extent cache for the device extent
  - Btrfs-progs: use rb-tree instead of extent cache tree for fs/file roots
  - Btrfs-progs: introduce common insert/search/delete functions for rb-tree
  - Btrfs-progs: cleanup similar code in open_ctree_* and close_ctree
  - Btrfs-progs: Don't free the devices when close the ctree
  - Btrfs-progs: don't close the file descriptor 0 when closing a device
  - Btrfs-progs: fix missing recow roots when making btrfs filesystem
- Add fix for passing super_nr while opening ctree

OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=140
2013-09-16 15:51:02 +00:00
Tomáš Chvátal
7d9af21f71 Accepting request 197508 from home:dsterba:branches:filesystems
SR: urgent fix, breaks installation on factory (ImageMagick package)

- btrfs-progs-mkfs-default-extref.diff: turn on extended refs by
  default, (aka hardlink count limtitation) (bnc#835695)

OBS-URL: https://build.opensuse.org/request/show/197508
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=138
2013-09-08 09:30:02 +00:00
David Sterba
f9646ba652 Accepting request 186576 from home:dsterba:branches:filesystems
SR: urgent fix, breaks installation

- fix loop mount detection again (bnc#834173)

OBS-URL: https://build.opensuse.org/request/show/186576
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=135
2013-08-09 12:09:44 +00:00
679e0a0c96 Accepting request 184008 from home:olh:branches:filesystems
NOT tested with real btrfs root filesystem!


- Simplify checks in mkinitrd scripts.
  They are always true because they come from the same package
  Use relative paths to binaries
- Move udev rules to /usr.
- Adjust rules to call binary from /usr
- Simplify fsck.btrfs, its just a dummy until fixed

OBS-URL: https://build.opensuse.org/request/show/184008
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=133
2013-07-26 21:25:13 +00:00
David Sterba
9f10c89645 Accepting request 182214 from home:dsterba:branches:filesystems
OBS-URL: https://build.opensuse.org/request/show/182214
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=131
2013-07-04 14:37:50 +00:00
David Sterba
5593300dc5 Accepting request 182207 from home:dsterba:branches:filesystems
- update to upstream master (f00dd8386a57d241d0f7c)

OBS-URL: https://build.opensuse.org/request/show/182207
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=129
2013-07-04 13:43:42 +00:00
David Sterba
8d5914e5dc Accepting request 179218 from home:jengelh:attr
- Make requirement on libattr-devel explicit

OBS-URL: https://build.opensuse.org/request/show/179218
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=127
2013-06-17 10:35:39 +00:00
David Sterba
4922272e25 Accepting request 113152 from home:flichtenheld
Fixes rpmlint warnings for SLE 11:
btrfsprogs.i586: W: non-executable-in-bin /usr/sbin/fsck.btrfs 0644
btrfsprogs.i586: W: non-executable-script /usr/sbin/fsck.btrfs 0644

OBS-URL: https://build.opensuse.org/request/show/113152
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=125
2012-04-11 13:59:45 +00:00
David Sterba
48eb340740 remove sles mkfs disclaimer
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=124
2012-04-06 12:21:32 +00:00
David Sterba
ed962b20cb remove sles mkfs disclaimer
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=123
2012-04-06 12:13:34 +00:00
David Sterba
e82b235207 - fix build failure
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=122
2012-04-06 11:58:03 +00:00
David Sterba
b3ba9dc0aa - add btrfs-debug-tree to initrd
- adjust fs size to correct size (bnc#744593)
- man page documentation updates
- do not package obsolete utilities
- mkfs: store correct size of device in superblock (bnc#730103)
- updated restriper/balance commands to match kernel version
- device scanning fixes for dm and multipath (bnc#749540)

OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=121
2012-04-06 11:43:24 +00:00
David Sterba
9b657ba61b Accepting request 108665 from home:rjschwei:branches:filesystems
usrMerge project - move files from toplevel to /usr

OBS-URL: https://build.opensuse.org/request/show/108665
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=119
2012-03-12 13:25:53 +00:00
David Sterba
2c5c7c6753 - add btrfsck repair options for:
- rebuild extent records
  - fix block group accounting
  - reset csums for rescue nodatasum mount
  - prune corrupt extent allocation tree blocks
- device scanning fixes for dm and multipath
- initrd support: move btrfs device scan after block device setup
- documentation updates
- add csize for file commpressed size
- updated restore utility

OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=118
2012-03-05 15:09:24 +00:00
David Sterba
af9b8d87fb Accepting request 104304 from devel:openSUSE:Factory:patch-license
patch license to follow spdx.org standard

OBS-URL: https://build.opensuse.org/request/show/104304
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=116
2012-02-13 12:37:55 +00:00
David Sterba
db07609875 - btrfs-progs-fix-open_ctree_usage_segfaults.patch: fix
segfaults from bnc#710486 due to unchecked usage of return
  value of open_ctree()
  [fixed compilation warnings]

- pull upstream, replace existing patches, spec update
- update 'restore' utility
  - lzo support
  - tools may now take earlies superblock when opening the fs
  - other fixes
- pull integration-20111030 branch
  - mkfs: force mkfs if desired
  - other fixes
- add btrfs-dump-super to mkinitrd
- other fixes
  - skip non-existent devices or without media
  - documentation updates
  - scrubbing single device
  - graceful error handling when opening fs fails

- updated mkinitrd script to scan devices before mount (bnc#727383)

OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=115
2011-12-14 23:25:51 +00:00
David Sterba
2f977a5763 - add several tools to mkinitrd if root fs is btrfs
- pull upstream branch and delete local patches

OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=114
2011-11-09 14:49:06 +00:00
David Sterba
357c38ac04 - btrfsck: ignore -a (bnc#655906)
- btrfsck: fix strerror value

OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=113
2011-10-04 00:31:38 +00:00
David Sterba
a40098578a Accepting request 82927 from home:jengelh:bl-b
- Remove redundant tags/sections from specfile
- Use %_smp_mflags for parallel build

OBS-URL: https://build.opensuse.org/request/show/82927
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=112
2011-09-19 11:56:07 +00:00
David Sterba
d0a063fc02 - add patch for local version override as we do not build from
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=111
2011-08-30 19:33:08 +00:00
120294f19c local-version-override.patch is missing.
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=110
2011-08-30 19:24:32 +00:00
David Sterba
8872bb5875 - add patch for local versio override as we do not build from
git, and avoid doubled "Btrfs" in output of 'btrfs'

OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=109
2011-08-04 19:55:32 +00:00
David Sterba
c41c6c4e23 - reorder help for 'get-default' right after 'set-default'
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=108
2011-08-04 19:28:53 +00:00
OBS User buildservice-autocommit
0548efb79d Updating link to change in openSUSE:Factory/btrfsprogs revision 23.0
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=c2f96c00dab1de1a02dee17aa8a82e09
2011-08-04 07:33:00 +00:00
David Sterba
0f67331582 - add option -p to print parent subvolume
- add subvolume 'get-default' subsubcommand

OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=106
2011-07-28 17:55:26 +00:00
a0e284e535 - add support for currently available kernel features:
- add scrub subcommand
  - scan /proc/partitions by default (or use --all-devices for all)
  - mkfs fixes and improvements
  - documentation fixes

- update from git:
  - add btrfs-select-super utility
  - add btrfs-label utility
  - allow mixed data+metadata (option --mixed)
  - allow populating new filesystem with files (option --rootdir)
  - allow discard support in mkfs
  - lzo support
  - deprecate 'btrfsctl' 'btrfs-vol' 'btrfs-show'
  - other bugfixes and documentation improvements

OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=104
2011-07-13 14:48:36 +00:00
OBS User buildservice-autocommit
4ba6456349 Updating link to change in openSUSE:Factory/btrfsprogs revision 21.0
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=ae89d014bf8eb3e8bfa9f53490cd3a5f
2011-07-04 07:35:22 +00:00
12fd38f5c9 - fix failing on deleted loop mounts (bnc#697671)
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=102
2011-07-01 14:32:19 +00:00
OBS User buildservice-autocommit
7eed06e9db Updating link to change in openSUSE:Factory/btrfsprogs revision 19.0
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=eea194b50885f91b815a3425e4d8db4b
2011-04-21 11:23:46 +00:00
1239cb9ae1 - change to a hardlink
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=100
2011-03-21 12:01:35 +00:00
OBS User buildservice-autocommit
2b277e6b99 Updating link to change in openSUSE:Factory/btrfsprogs revision 17.0
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=30f364bc0776fb46606180d683beb02b
2011-03-15 09:25:29 +00:00
078cfa8efc - add link for fsck.btrfs (bnc#665899)
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=98
2011-03-14 18:24:28 +00:00
5e9a890439 - update to v0.19-35-g1b444cd:
* used space accounting fix for the converter
  * Add btrfs-list for listing subvolumes
  * Add new util: 'btrfs' 
  * multidevice support for check_mounted
  * check slash in deleting subvolumes
  * Add btrfsck option to select the super block copy
  * btrfs-debug-tree: add -d option to print only the device mapping

OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=97
2010-12-16 19:56:57 +00:00
OBS User autobuild
6d78376d85 Accepting request 41263 from filesystems
checked in (request 41263)

OBS-URL: https://build.opensuse.org/request/show/41263
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=96
2010-06-09 14:56:50 +00:00
36ce606d08 - fix crash on creating filesystems (bnc#603620)
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=95
2010-05-26 15:14:58 +00:00
34511226b8 - revert last change (bnc#599224#c3)
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=94
2010-05-07 13:05:46 +00:00
OBS User buildservice-autocommit
d238344608 Updating link to change in openSUSE:Factory/btrfsprogs revision 11.0
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=4944604482d7cac4a5e8aa3520e664f2
2010-04-29 23:44:04 +00:00
OBS User autobuild
f17adbe2f3 Accepting request 39073 from filesystems
checked in (request 39073)

OBS-URL: https://build.opensuse.org/request/show/39073
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=93
2010-04-29 23:44:03 +00:00
a59ce88c40 - add hardlink from fsck.btrfs (bnc#599224)
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=92
2010-04-29 09:16:08 +00:00
OBS User buildservice-autocommit
4b89a3b39f Updating link to change in openSUSE:Factory/btrfsprogs revision 10.0
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=1170093c7c620820d2eaeccc3763478b
2010-03-26 15:47:29 +00:00
6a9258e794 - fix memory leak (bnc#537633)
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=90
2010-03-26 12:24:41 +00:00
Stephan Kulow
69845a9b58 prepare_spec
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=88
2010-03-05 09:58:33 +00:00
fe1c03127f OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=85 2010-03-04 21:49:34 +00:00
OBS User autobuild
7cfe100400 Accepting request 30739 from filesystems
Copy from filesystems/btrfsprogs based on submit request 30739 from user coolo

OBS-URL: https://build.opensuse.org/request/show/30739
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=7
2010-01-29 16:42:56 +00:00
OBS User autobuild
05c51c65c2 Accepting request 29130 from filesystems
Copy from filesystems/btrfsprogs based on submit request 29130 from user coolo

OBS-URL: https://build.opensuse.org/request/show/29130
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=6
2010-01-11 16:53:27 +00:00
OBS User unknown
ca3dc52e69 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=4 2009-08-03 16:27:49 +00:00
OBS User unknown
c7506b4b8e OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=3 2009-07-27 22:08:56 +00:00
OBS User unknown
52a9204f55 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=2 2009-07-21 10:23:25 +00:00
OBS User unknown
59e4247c77 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=1 2009-03-01 03:28:54 +00:00