]> git.sesse.net Git - bcachefs-tools-debian/log
bcachefs-tools-debian
5 years agoMerge pull request #16 from modelrockettier/makefile-tweaks
koverstreet [Mon, 14 Jan 2019 03:43:50 +0000 (22:43 -0500)]
Merge pull request #16 from modelrockettier/makefile-tweaks

Makefile, gitignore, and initramfs hook improvements

5 years agoReplaced mkdir -p with install -D in make install
Tim Schlueter [Mon, 14 Jan 2019 02:47:41 +0000 (18:47 -0800)]
Replaced mkdir -p with install -D in make install

Also added a comment about the bcachefs utility to the initramfs hook

5 years agoOnly run pkg-config once in Makefile, added EXTRA linker vars
Tim Schlueter [Sun, 13 Jan 2019 23:01:12 +0000 (15:01 -0800)]
Only run pkg-config once in Makefile, added EXTRA linker vars

* Only run the pkg-config --cflags command once (instead of every .c file)
* Added EXTRA_LDFLAGS and EXTRA_LDLIBS vars
* Removed tabs in the middle of commands to make it easier to manually re-run
  commands manually (e.g. if a compilation fails)
* Replaced `cd dir; git command` in favor of $(shell git -C dir command)
* Minor version format change: dirty trees just append "+" instead of "-dirty"
  and if git describe fails, it now sets the version to "v0.1-nogit"

Also, don't ignore .gitignore files.

5 years agoMerge pull request #15 from modelrockettier/update-initramfs
koverstreet [Mon, 14 Jan 2019 03:09:43 +0000 (22:09 -0500)]
Merge pull request #15 from modelrockettier/update-initramfs

 Update initramfs after .deb install or uninstall

5 years agoFix format -g to create a disk group
Tim Schlueter [Sun, 13 Jan 2019 22:25:10 +0000 (14:25 -0800)]
Fix format -g to create a disk group

5 years agoUpdate initramfs after .deb install or uninstall
Tim Schlueter [Sun, 13 Jan 2019 22:23:55 +0000 (14:23 -0800)]
Update initramfs after .deb install or uninstall

Also removed the unnecessary debian/bcachefs-tools.dirs file

5 years agoUpdate bcachefs sources to ef60854e99 bcachefs: More allocator startup improvements
Kent Overstreet [Mon, 14 Jan 2019 01:36:38 +0000 (20:36 -0500)]
Update bcachefs sources to ef60854e99 bcachefs: More allocator startup improvements

5 years agoUse 16k stack size
Kent Overstreet [Sun, 13 Jan 2019 21:57:26 +0000 (16:57 -0500)]
Use 16k stack size

5 years agodelete dead code
Kent Overstreet [Sun, 13 Jan 2019 20:24:51 +0000 (15:24 -0500)]
delete dead code

5 years agocheck for errors from pthread_create()
Kent Overstreet [Sun, 13 Jan 2019 20:17:03 +0000 (15:17 -0500)]
check for errors from pthread_create()

5 years agoFix target options
Kent Overstreet [Sun, 13 Jan 2019 19:15:01 +0000 (14:15 -0500)]
Fix target options

5 years agoreadd -q (--quiet)
Kent Overstreet [Thu, 3 Jan 2019 15:23:42 +0000 (10:23 -0500)]
readd -q (--quiet)

5 years agoDelete more shim layer code
Kent Overstreet [Thu, 20 Dec 2018 01:34:24 +0000 (20:34 -0500)]
Delete more shim layer code

5 years agoNew setattr command
Kent Overstreet [Wed, 19 Dec 2018 20:41:47 +0000 (15:41 -0500)]
New setattr command

5 years agoFix a divide by zero
Kent Overstreet [Wed, 19 Dec 2018 20:42:18 +0000 (15:42 -0500)]
Fix a divide by zero

5 years agoUse opts.h for format options
Kent Overstreet [Wed, 19 Dec 2018 20:23:59 +0000 (15:23 -0500)]
Use opts.h for format options

5 years agoUpdate bcachefs sources to 2724e115d2 bcachefs: Lots of option handling improvements
Kent Overstreet [Wed, 19 Dec 2018 20:20:44 +0000 (15:20 -0500)]
Update bcachefs sources to 2724e115d2 bcachefs: Lots of option handling improvements

5 years agoUpdate bcachefs sources to 57ea7773cb bcachefs: Fix duplicate ioctl nr
Kent Overstreet [Mon, 17 Dec 2018 14:26:29 +0000 (09:26 -0500)]
Update bcachefs sources to 57ea7773cb bcachefs: Fix duplicate ioctl nr

5 years agoUpdate bcachefs sources to f7670cba39 bcachefs: Fix for building in userspace
Kent Overstreet [Wed, 12 Dec 2018 11:21:55 +0000 (06:21 -0500)]
Update bcachefs sources to f7670cba39 bcachefs: Fix for building in userspace

5 years agoUpdate bcachefs sources to 62de7539dc bcachefs: Make bkey types globally unique
Kent Overstreet [Fri, 30 Nov 2018 17:38:54 +0000 (12:38 -0500)]
Update bcachefs sources to 62de7539dc bcachefs: Make bkey types globally unique

5 years agoUpdate bcachefs sources to da7fefde29 bcachefs: shim for userspace raid library
Kent Overstreet [Fri, 23 Nov 2018 08:04:34 +0000 (03:04 -0500)]
Update bcachefs sources to da7fefde29 bcachefs: shim for userspace raid library

5 years agosnapraid
Kent Overstreet [Fri, 23 Nov 2018 05:44:20 +0000 (00:44 -0500)]
snapraid

5 years agoUpdate bcachefs sources to a9f14c773f bcachefs: More btree gc refactorings
Kent Overstreet [Tue, 13 Nov 2018 00:20:40 +0000 (19:20 -0500)]
Update bcachefs sources to a9f14c773f bcachefs: More btree gc refactorings

5 years agoUpdate bcachefs sources to d7dbddc450 bcachefs: revamp to_text methods
Kent Overstreet [Fri, 9 Nov 2018 09:00:42 +0000 (04:00 -0500)]
Update bcachefs sources to d7dbddc450 bcachefs: revamp to_text methods

5 years agoMerge pull request #14 from hadricoppo/fix-xattr-includes
koverstreet [Thu, 8 Nov 2018 13:26:47 +0000 (08:26 -0500)]
Merge pull request #14 from hadricoppo/fix-xattr-includes

Fixed xattr.h includes

5 years agoFixed xattr.h includes
Hadrien Copponnex [Thu, 8 Nov 2018 10:18:13 +0000 (11:18 +0100)]
Fixed xattr.h includes

5 years agoMerge pull request #13 from modelrockettier/target-printing
koverstreet [Wed, 7 Nov 2018 03:42:00 +0000 (22:42 -0500)]
Merge pull request #13 from modelrockettier/target-printing

Nicer group and target show-super output

5 years agoImproved the show-super group and target printing
Tim Schlueter [Mon, 5 Nov 2018 07:31:35 +0000 (23:31 -0800)]
Improved the show-super group and target printing

Disks without a group no longer prints uninitialized data.

Foreground, background, and promote targets now print what they are, not just
a single number. E.g.

Foreground write target:    none
Background write target:    Group 0 (slow)
Promote target:             Device 2 (b5d2aa58-9cc5-4ff0-a7ff-407216d27d7d)

5 years agoFixed format args and removed unnecessary strdup()s
Tim Schlueter [Mon, 5 Nov 2018 07:23:11 +0000 (23:23 -0800)]
Fixed format args and removed unnecessary strdup()s

5 years agoMerge pull request #12 from modelrockettier/real_mount_time
koverstreet [Mon, 5 Nov 2018 05:24:14 +0000 (00:24 -0500)]
Merge pull request #12 from modelrockettier/real_mount_time

 Set the last mount time using the realtime clock

5 years agoUpdate bcachefs sources to 7227ff07f14b Merge pull request #10 from modelrockettier...
Tim Schlueter [Mon, 5 Nov 2018 05:14:26 +0000 (21:14 -0800)]
Update bcachefs sources to 7227ff07f14b Merge pull request #10 from modelrockettier/real_mount_time

5 years agoPrint the filesystem creation time in show-super
Tim Schlueter [Mon, 5 Nov 2018 05:02:51 +0000 (21:02 -0800)]
Print the filesystem creation time in show-super

5 years agoAdded ktime_get_real_seconds() wrapper
Tim Schlueter [Mon, 5 Nov 2018 05:00:33 +0000 (21:00 -0800)]
Added ktime_get_real_seconds() wrapper

Also, changed the last_mount print so it no longer prints out two newlines.

5 years agoUpdate bcachefs sources to 8bf4b038d4 bcachefs: Assorted fixes for running on very...
Kent Overstreet [Mon, 5 Nov 2018 03:18:23 +0000 (22:18 -0500)]
Update bcachefs sources to 8bf4b038d4 bcachefs: Assorted fixes for running on very small devices

5 years agoMerge pull request #10 from modelrockettier/shrinkers
koverstreet [Sun, 4 Nov 2018 22:42:20 +0000 (17:42 -0500)]
Merge pull request #10 from modelrockettier/shrinkers

Don't read meminfo if there are no shrinkers

5 years agoMerge pull request #9 from modelrockettier/master
koverstreet [Sun, 4 Nov 2018 22:42:04 +0000 (17:42 -0500)]
Merge pull request #9 from modelrockettier/master

Add chacha20 and poly1305 modules to initramfs

5 years agoMake sure initramfs-tools adds chacha20 and poly1305 if loaded
Tim Schlueter [Fri, 24 Aug 2018 04:42:44 +0000 (21:42 -0700)]
Make sure initramfs-tools adds chacha20 and poly1305 if loaded

5 years agoDon't read meminfo if there are no shrinkers
Tim Schlueter [Fri, 24 Aug 2018 05:37:31 +0000 (22:37 -0700)]
Don't read meminfo if there are no shrinkers

5 years agoDon't display an error on --help
Tim Schlueter [Fri, 24 Aug 2018 04:40:25 +0000 (21:40 -0700)]
Don't display an error on --help

5 years agoUpdate bcachefs sources to defaad6d47 bcachefs: Fix an assertion when rebuilding...
Kent Overstreet [Sun, 4 Nov 2018 01:56:27 +0000 (21:56 -0400)]
Update bcachefs sources to defaad6d47 bcachefs: Fix an assertion when rebuilding replicas

5 years agoUpdate bcachefs sources to b12d1535f3 bcachefs: fix bounds checks in bch2_bio_map()
Kent Overstreet [Sun, 4 Nov 2018 00:11:29 +0000 (20:11 -0400)]
Update bcachefs sources to b12d1535f3 bcachefs: fix bounds checks in bch2_bio_map()

5 years agofix a (spurious) gcc warning
Kent Overstreet [Sat, 3 Nov 2018 20:58:41 +0000 (16:58 -0400)]
fix a (spurious) gcc warning

5 years agoimprove dev_to_mount()
Kent Overstreet [Sun, 21 Oct 2018 23:35:35 +0000 (19:35 -0400)]
improve dev_to_mount()

should fix a bug where resize does an offline resize when the fs was
mounted because it thought it wasn't mounted

5 years agoUpdate bcachefs sources to d7f6da1d60 bcachefs: fix missing include
Kent Overstreet [Fri, 12 Oct 2018 18:55:27 +0000 (14:55 -0400)]
Update bcachefs sources to d7f6da1d60 bcachefs: fix missing include

5 years agocmd_device_add: replace tier with group in usage
Stijn Tintel [Sun, 7 Oct 2018 15:19:30 +0000 (18:19 +0300)]
cmd_device_add: replace tier with group in usage

Tiering has been replaced by disk groups, but the usage message for
cmd_device_add was never updated to reflect this change. Replace the
tier option with group to fix the usage message.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
5 years agocmd_device: add missing short options to usage
Stijn Tintel [Sun, 7 Oct 2018 15:19:29 +0000 (18:19 +0300)]
cmd_device: add missing short options to usage

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
5 years agoUpdate bcachefs sources to 446219cb11 bcachefs: Dirent repair code
Kent Overstreet [Tue, 21 Aug 2018 23:43:00 +0000 (19:43 -0400)]
Update bcachefs sources to 446219cb11 bcachefs: Dirent repair code

5 years agoUpdate bcachefs sources to 15f6e66e86 bcachefs: pass around bset_tree less
Kent Overstreet [Wed, 15 Aug 2018 23:41:24 +0000 (19:41 -0400)]
Update bcachefs sources to 15f6e66e86 bcachefs: pass around bset_tree less

5 years agoInclude superblock, journal in fs usage output
Kent Overstreet [Wed, 15 Aug 2018 23:41:36 +0000 (19:41 -0400)]
Include superblock, journal in fs usage output

5 years agofix rereplicate command
Kent Overstreet [Sat, 21 Jul 2018 08:37:31 +0000 (04:37 -0400)]
fix rereplicate command

5 years agoReturn errors from fsck properly
Kent Overstreet [Sat, 21 Jul 2018 03:42:06 +0000 (23:42 -0400)]
Return errors from fsck properly

5 years agoUpdate bcachefs sources to eab3b355cf bcachefs: trace transaction restarts
Kent Overstreet [Mon, 16 Jul 2018 07:58:54 +0000 (03:58 -0400)]
Update bcachefs sources to eab3b355cf bcachefs: trace transaction restarts

5 years agoUpdate bcachefs sources to 940d6ca657 bcachefs: acl code improvements
Kent Overstreet [Fri, 13 Jul 2018 04:43:23 +0000 (00:43 -0400)]
Update bcachefs sources to 940d6ca657 bcachefs: acl code improvements

5 years agoUpdate bcachefs sources to 2cb70a82bc bcachefs: delete some debug code
Kent Overstreet [Wed, 27 Jun 2018 18:41:51 +0000 (14:41 -0400)]
Update bcachefs sources to 2cb70a82bc bcachefs: delete some debug code

6 years agoDelete more shim layer code
Kent Overstreet [Fri, 1 Jun 2018 20:20:02 +0000 (16:20 -0400)]
Delete more shim layer code

6 years agoUpdate bcachefs sources to 9abf628c70 bcachefs: Fix a spurious error in fsck
Kent Overstreet [Fri, 1 Jun 2018 21:17:16 +0000 (17:17 -0400)]
Update bcachefs sources to 9abf628c70 bcachefs: Fix a spurious error in fsck

6 years agoMerge pull request #4 from modelrockettier/master
koverstreet [Mon, 28 May 2018 02:49:41 +0000 (22:49 -0400)]
Merge pull request #4 from modelrockettier/master

Add version command

6 years agoDon't add commit id to version when building from a tag
Tim Schlueter [Sun, 27 May 2018 19:38:51 +0000 (12:38 -0700)]
Don't add commit id to version when building from a tag

6 years agoAdded 'version' command to print when the bcachefs tool was built
Tim Schlueter [Wed, 14 Feb 2018 09:28:24 +0000 (01:28 -0800)]
Added 'version' command to print when the bcachefs tool was built

6 years agodrop dead code
Kent Overstreet [Thu, 17 May 2018 07:14:09 +0000 (03:14 -0400)]
drop dead code

6 years agoUpdate bcachefs sources to f65603966f bcachefs: drop old includes
Kent Overstreet [Thu, 17 May 2018 07:07:00 +0000 (03:07 -0400)]
Update bcachefs sources to f65603966f bcachefs: drop old includes

6 years agoSwitch to liblz4
Kent Overstreet [Thu, 17 May 2018 06:45:49 +0000 (02:45 -0400)]
Switch to liblz4

6 years agoupdate INSTALL
Kent Overstreet [Thu, 17 May 2018 06:34:18 +0000 (02:34 -0400)]
update INSTALL

6 years agofixes for 32 bit builds/non x86 archs
Kent Overstreet [Thu, 10 May 2018 07:57:37 +0000 (03:57 -0400)]
fixes for 32 bit builds/non x86 archs

6 years agoUpdate bcachefs sources to 0906b1fb49 bcachefs: fixes for 32 bit/big endian machines
Kent Overstreet [Thu, 17 May 2018 05:38:57 +0000 (01:38 -0400)]
Update bcachefs sources to 0906b1fb49 bcachefs: fixes for 32 bit/big endian machines

6 years agobcachefs fs usage improvements
Kent Overstreet [Fri, 4 May 2018 18:27:13 +0000 (14:27 -0400)]
bcachefs fs usage improvements

6 years agoUpdate bcachefs sources to ed4aea2ad4 bcachefs: fix gcc warning
Kent Overstreet [Fri, 4 May 2018 18:04:31 +0000 (14:04 -0400)]
Update bcachefs sources to ed4aea2ad4 bcachefs: fix gcc warning

6 years agoUpdate bcachefs sources to edf5f38218 bcachefs: Refactor superblock code
Kent Overstreet [Tue, 10 Apr 2018 23:19:09 +0000 (19:19 -0400)]
Update bcachefs sources to edf5f38218 bcachefs: Refactor superblock code

6 years agoUpdate bcachefs sources to 9fc6ccd865 bcachefs: fix copygc_pred()
Kent Overstreet [Tue, 20 Mar 2018 07:54:50 +0000 (03:54 -0400)]
Update bcachefs sources to 9fc6ccd865 bcachefs: fix copygc_pred()

6 years agofix cmd_assemble
Kent Overstreet [Tue, 13 Mar 2018 23:52:23 +0000 (19:52 -0400)]
fix cmd_assemble

6 years agoAdd --durability to format
Kent Overstreet [Tue, 13 Mar 2018 07:23:27 +0000 (03:23 -0400)]
Add --durability to format

6 years agoUpdate bcachefs sources to f7ccf51390 bcachefs: durability
Kent Overstreet [Tue, 13 Mar 2018 07:22:35 +0000 (03:22 -0400)]
Update bcachefs sources to f7ccf51390 bcachefs: durability

6 years agoUpdate bcachefs sources to da224776eb bcachefs: fix an error path
Kent Overstreet [Thu, 1 Mar 2018 23:33:14 +0000 (18:33 -0500)]
Update bcachefs sources to da224776eb bcachefs: fix an error path

6 years agominor disk group fixes;, add background_compression option
Kent Overstreet [Wed, 28 Feb 2018 22:56:53 +0000 (17:56 -0500)]
minor disk group fixes;, add background_compression option

6 years agoUpdate bcachefs sources to e7f4678827 bcachefs: fix variable shadowing in macro call
Kent Overstreet [Wed, 28 Feb 2018 22:56:28 +0000 (17:56 -0500)]
Update bcachefs sources to e7f4678827 bcachefs: fix variable shadowing in macro call

6 years agoAdding plymouth support to initramfs script
Tim Schlueter [Mon, 26 Feb 2018 01:21:44 +0000 (17:21 -0800)]
Adding plymouth support to initramfs script

6 years agoInitramfs script improvements
Tim Schlueter [Mon, 26 Feb 2018 00:56:04 +0000 (16:56 -0800)]
Initramfs script improvements

- Resolve the root device, so it can be specified by UUID, etc.
- Exit immediately if the ROOTFSTYPE is set and not bcachefs
- Only try to unlock the device 3 times before opening a shell or
  rebooting (depending on kernel cmdline)

6 years agodisk groups
Kent Overstreet [Sat, 25 Nov 2017 11:16:39 +0000 (06:16 -0500)]
disk groups

6 years agoUpdate bcachefs sources to 90d78c2461 bcachefs: Option parsing for io targets
Kent Overstreet [Mon, 19 Feb 2018 02:43:46 +0000 (21:43 -0500)]
Update bcachefs sources to 90d78c2461 bcachefs: Option parsing for io targets

6 years agoadd missing include
Kent Overstreet [Sat, 17 Feb 2018 18:36:55 +0000 (13:36 -0500)]
add missing include

6 years agoUpdate bcachefs sources to e99d29e402 bcachefs: zstd support, compression refactoring
Kent Overstreet [Fri, 16 Feb 2018 20:36:33 +0000 (15:36 -0500)]
Update bcachefs sources to e99d29e402 bcachefs: zstd support, compression refactoring

6 years agoMerge pull request #2 from modelrockettier/master
koverstreet [Mon, 12 Feb 2018 02:03:36 +0000 (21:03 -0500)]
Merge pull request #2 from modelrockettier/master

Improve Debian Package Builds

6 years agoSet debian/compat to 10
Tim Schlueter [Sun, 11 Feb 2018 23:32:34 +0000 (15:32 -0800)]
Set debian/compat to 10

* Compat level 10 allows parallel builds by default.
* Also changed debuild to use short arguments.
* Long arguments weren't supported until dpkg-dev 1.18.8.

6 years agoSet PREFIX to /usr for .deb builds
Tim Schlueter [Sun, 11 Feb 2018 23:31:38 +0000 (15:31 -0800)]
Set PREFIX to /usr for .deb builds

6 years agoadd -c to cmd_unlock, to check if a device needs to be unlocked
Kent Overstreet [Sun, 11 Feb 2018 17:35:15 +0000 (12:35 -0500)]
add -c to cmd_unlock, to check if a device needs to be unlocked

6 years agofsck: support -a as -p for compatibility with other fsck
Leah Neukirchen [Sat, 10 Feb 2018 21:48:48 +0000 (22:48 +0100)]
fsck: support -a as -p for compatibility with other fsck

6 years agofsck: fix typo in usage
Leah Neukirchen [Sat, 10 Feb 2018 21:48:04 +0000 (22:48 +0100)]
fsck: fix typo in usage

6 years agoadd a missing build dependency
Kent Overstreet [Sat, 10 Feb 2018 09:45:03 +0000 (04:45 -0500)]
add a missing build dependency

6 years agoinclude/linux/bitmap.h: inline __bitmap_weight and __bitmap_and
Leah Neukirchen [Fri, 9 Feb 2018 23:08:32 +0000 (00:08 +0100)]
include/linux/bitmap.h: inline __bitmap_weight and __bitmap_and

6 years agotools-util.c: define generic crc32c on non-x86_64 arch
Leah Neukirchen [Fri, 9 Feb 2018 22:13:24 +0000 (23:13 +0100)]
tools-util.c: define generic crc32c on non-x86_64 arch

6 years agoinclude/linux/time64.h: no need for __iter_div_u64_rem in userspace
Leah Neukirchen [Fri, 9 Feb 2018 21:54:12 +0000 (22:54 +0100)]
include/linux/time64.h: no need for __iter_div_u64_rem in userspace

6 years agoinclude/linux/log2.h: define PAGE_SHIFT when needed
Leah Neukirchen [Fri, 9 Feb 2018 21:21:46 +0000 (22:21 +0100)]
include/linux/log2.h: define PAGE_SHIFT when needed

6 years agoPatches to support musl libc
Leah Neukirchen [Fri, 9 Feb 2018 21:20:56 +0000 (22:20 +0100)]
Patches to support musl libc

UTIME_NOW is defined in <sys/stat.h> on glibc and musl.
Else, we just need a few headers to get glibc's <sys/cdefs.h> crud.

6 years agoformat: the error_action readonly is spelled remount_ro
Leah Neukirchen [Fri, 9 Feb 2018 19:51:23 +0000 (20:51 +0100)]
format: the error_action readonly is spelled remount_ro

6 years agolist: fix usage header
Leah Neukirchen [Fri, 9 Feb 2018 18:25:46 +0000 (19:25 +0100)]
list: fix usage header

6 years agolist: document -f and -v
Leah Neukirchen [Fri, 9 Feb 2018 18:25:17 +0000 (19:25 +0100)]
list: document -f and -v

6 years agomigrate: migrate_superblock -> migrate-superblock in usage
Leah Neukirchen [Fri, 9 Feb 2018 18:22:52 +0000 (19:22 +0100)]
migrate: migrate_superblock -> migrate-superblock in usage

6 years agoformat: document -U (used by many mkfs.*)
Leah Neukirchen [Fri, 9 Feb 2018 18:21:47 +0000 (19:21 +0100)]
format: document -U (used by many mkfs.*)

6 years agodump: document -f
Leah Neukirchen [Fri, 9 Feb 2018 18:18:58 +0000 (19:18 +0100)]
dump: document -f

6 years agodevice add: support --help
Leah Neukirchen [Fri, 9 Feb 2018 18:17:18 +0000 (19:17 +0100)]
device add: support --help