Commit Graph

106 Commits

Author SHA256 Message Date
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