Commit Graph

82 Commits

Author SHA256 Message Date
Tomáš Chvátal
6f14b2267a Accepting request 205543 from filesystems
- fsck updates
- more mkfs sanity checks
- qgroup rescan wait
- Added patches:
  * 0050-Btrfs-progs-commit-the-csum_root-if-we-do-init-csum-.patch
  * 0051-btrfs-progs-Fix-getopt-on-arm-ppc-platforms.patch
  * 0052-btrfs-progs-fix-duplicate-__-su-typedefs-on-ppc64.patch
  * 0053-btrfs-progs-use-reentrant-localtime.patch
  * 0054-btrfs-progs-don-t-have-to-report-ENOMEDIUM-error-dur.patch
  * 0055-Btrfs-progs-added-btrfs-quota-rescan-w-switch-wait.patch
  * 0056-btrfs-progs-fix-qgroup-realloc-inheritance.patch
  * 0057-Btrfs-progs-fix-restore-command-leaving-corrupted-fi.patch
  * 0058-btrfs-progs-avoid-write-to-the-disk-before-sure-to-c.patch
  * 0059-btrfs-progs-error-if-device-for-mkfs-is-too-small.patch
  * 0060-btrfs-progs-error-if-device-have-no-space-to-make-pr.patch
  * 0061-btrfs-progs-calculate-available-blocks-on-device-pro.patch
  * 0062-Btrfs-progs-keep-track-of-transid-failures-and-fix-t.patch

OBS-URL: https://build.opensuse.org/request/show/205543
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=35
2013-11-01 16:41:11 +00:00
Tomáš Chvátal
988ccd2b85 - Added patches:
* 0050-Btrfs-progs-commit-the-csum_root-if-we-do-init-csum-.patch
  * 0051-btrfs-progs-Fix-getopt-on-arm-ppc-platforms.patch
  * 0052-btrfs-progs-fix-duplicate-__-su-typedefs-on-ppc64.patch
  * 0053-btrfs-progs-use-reentrant-localtime.patch
  * 0054-btrfs-progs-don-t-have-to-report-ENOMEDIUM-error-dur.patch
  * 0055-Btrfs-progs-added-btrfs-quota-rescan-w-switch-wait.patch
  * 0056-btrfs-progs-fix-qgroup-realloc-inheritance.patch
  * 0057-Btrfs-progs-fix-restore-command-leaving-corrupted-fi.patch
  * 0058-btrfs-progs-avoid-write-to-the-disk-before-sure-to-c.patch
  * 0059-btrfs-progs-error-if-device-for-mkfs-is-too-small.patch
  * 0060-btrfs-progs-error-if-device-have-no-space-to-make-pr.patch
  * 0061-btrfs-progs-calculate-available-blocks-on-device-pro.patch
  * 0062-Btrfs-progs-keep-track-of-transid-failures-and-fix-t.patch

OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=145
2013-11-01 13:09:15 +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
Tomáš Chvátal
df93786119 Accepting request 202703 from filesystems
bnc#839960 comment #7 fix mkinitrd script btrfs.sh (forwarded request 202291 from goldwynr)

OBS-URL: https://build.opensuse.org/request/show/202703
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=34
2013-10-09 21:47:32 +00:00
David Sterba
3ba375bc14 Accepting request 202291 from home:goldwynr:branches:filesystems
bnc#839960 comment #7 fix mkinitrd script btrfs.sh

OBS-URL: https://build.opensuse.org/request/show/202291
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=142
2013-10-09 13:15:02 +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
Stephan Kulow
78011aafd5 Accepting request 197895 from 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) (forwarded request 197508 from dsterba)

OBS-URL: https://build.opensuse.org/request/show/197895
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=32
2013-09-08 13:21:48 +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
Stephan Kulow
cb3e8fd314 Accepting request 196443 from filesystems
- added patch name in changelog (forwarded request 195973 from aschnell)

OBS-URL: https://build.opensuse.org/request/show/196443
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=31
2013-08-27 18:32:46 +00:00
439968b1a8 Accepting request 195973 from home:aschnell:branches:filesystems
- added patch name in changelog

OBS-URL: https://build.opensuse.org/request/show/195973
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=136
2013-08-26 15:20:26 +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
Stephan Kulow
ef5b405e60 Accepting request 184455 from filesystems
- 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

- update to upstream master (f00dd8386a57d241d0f7c)

OBS-URL: https://build.opensuse.org/request/show/184455
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=30
2013-07-29 15:35:55 +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
d5292b73cb update version tag
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=132
2013-07-04 14:48:49 +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
dd1f6d3aa1 fix changelog format
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=130
2013-07-04 13:53:27 +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
Stephan Kulow
b3789b34ac Accepting request 179277 from filesystems
- Make requirement on libattr-devel explicit (forwarded request 179218 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/179277
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=29
2013-06-18 08:28:54 +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
b13c354714 - initrd support: add module (bnc#750185, bnc#727383)
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=126
2012-04-13 14:07:16 +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
Stephan Kulow
87f7b18663 Accepting request 108879 from filesystems
- place binaries in /usr tree (UsrMerge project)
- adjust mkinitrd script accordingly

- 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/request/show/108879
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=26
2012-03-20 10:26:08 +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
Stephan Kulow
594c017c84 Accepting request 106239 from filesystems
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/106239
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=25
2012-02-21 11:15:43 +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
Sascha Peilicke
05605c9974 Autobuild autoformatter for 76976
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=23
2011-08-04 07:33:00 +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
Sascha Peilicke
89e921be15 Accepting request 76976 from filesystems
- remove debugging printf from
  0001-Btrfs-progs-add-a-btrfs-select-super-command-to-over.patch (forwarded request 76766 from dsterba)

OBS-URL: https://build.opensuse.org/request/show/76976
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=22
2011-08-04 07:32:48 +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
42000ba0a3 Accepting request 76766 from home:dsterba:branches:filesystems
- remove debugging printf from
  0001-Btrfs-progs-add-a-btrfs-select-super-command-to-over.patch

OBS-URL: https://build.opensuse.org/request/show/76766
OBS-URL: https://build.opensuse.org/package/show/filesystems/btrfsprogs?expand=0&rev=105
2011-07-25 14:36:05 +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
Sascha Peilicke
1fa44e324e Autobuild autoformatter for 75017
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=21
2011-07-04 07:35:22 +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
Sascha Peilicke
d322bca183 Accepting request 75017 from filesystems
- fix failing on deleted loop mounts (bnc#697671)

OBS-URL: https://build.opensuse.org/request/show/75017
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=20
2011-07-04 07:35:11 +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
Ruediger Oertel
a81c3ab4cc Autobuild autoformatter for 66955
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/btrfsprogs?expand=0&rev=19
2011-04-21 11:23:46 +00:00