Commit Graph

441 Commits

Author SHA1 Message Date
Kent Overstreet
3a59ff72a0 initialize filesystem when formatting
makes it possible to mount ro for the first mount, helps with some
xfstests tests
2019-04-06 17:45:19 -04:00
Kent Overstreet
d13bbb2955 Update bcachefs sources to d83b992f65 bcachefs: Rewrite journal_seq_blacklist machinery 2019-04-04 22:25:40 -04:00
Kent Overstreet
be02db130b Update bcachefs sources to 1712318522 bcachefs: allow journal reply on ro mount 2019-03-29 17:35:44 -04:00
Kent Overstreet
133dfeb648 Update bcachefs sources to d868a87c67 bcachefs: fix initial gc 2019-03-28 05:28:38 -04:00
Kent Overstreet
365d345005 Align allocations like the kernel does 2019-03-24 23:38:17 -04:00
Kent Overstreet
9b08492bc7 check if fs is mounted before running fsck 2019-03-24 21:07:45 -04:00
Kent Overstreet
ddb58076ef Update bcachefs sources to ffe09df106 bcachefs: Verify fs hasn't been modified before going rw 2019-03-24 21:06:58 -04:00
Kent Overstreet
0894d54750 Update bcachefs sources to 986543d24e bcachefs: fix bch2_invalidate_one_bucket2() during journal replay 2019-03-13 17:00:36 -04:00
Kent Overstreet
d4c9b18e21 Merge https://github.com/DanySpin97/bcachefs-tools 2019-03-10 14:59:13 -04:00
Kent Overstreet
88da4def1b Update bcachefs sources to 00c04f8485 bcachefs: Fix for shutting down before fs started marking it clean 2019-03-10 14:56:38 -04:00
Danilo Spinella
54badc02f7 Add PKG_CONFIG variable and replace pkg-config
Respect pkg-config value from environment.
2019-03-10 10:26:42 +00:00
Danilo Spinella
70e29e35f2 Fix PREFIX variable assignement 2019-03-10 10:26:42 +00:00
Kent Overstreet
ed0993c1e2 Update bcachefs sources to ca1a2ff489 bcachefs: Fix for when compressed extent is split during journal replay 2019-03-08 17:36:40 -05:00
Kent Overstreet
83a01d9f07 Update bcachefs sources to c8aa081de3 bcachefs: increase BTREE_ITER_MAX 2019-03-08 17:36:16 -05:00
Kent Overstreet
0aaa849412 use a mutex for percpu rwsemaphores
bcachefs is using a percpu rwsem to protect percpu data structures, and
in userspace we don't have real percpu data structures - so we need to
guard all access to them with a mutex.
2019-03-08 14:41:57 -05:00
Kent Overstreet
166e32606e better implementation of WARN 2019-03-08 14:41:43 -05:00
Kent Overstreet
fd67296247 Update bcachefs sources to 43a464c9dd bcachefs: Don't BUG_ON() on bucket sector count overflow 2019-03-07 16:39:43 -05:00
Kent Overstreet
70bb5ab7a8 Update bcachefs sources to a5e71b8200 bcachefs: Allocator startup fixes/refactoring 2019-03-02 14:45:50 -05:00
Kent Overstreet
35ab359897 Update bcachefs sources to dab980b662 bcachefs: Don't get journal reservation until after we know insert will succeed 2019-03-01 15:52:57 -05:00
Kent Overstreet
a4eb187a6f Update bcachefs sources to 75e8a078b8 bcachefs: improved flush_held_btree_writes() 2019-02-28 22:33:41 -05:00
Kent Overstreet
17c5215c1c Update bcachefs sources to 09a5465430 bcachefs: Don't need to walk inodes on clean shutdown 2019-02-09 19:54:14 -05:00
Kent Overstreet
35fca2f044 Update bcachefs sources to 99750eab4d bcachefs: Persist stripe blocks_used 2019-01-23 15:53:32 -05:00
koverstreet
1c50d258e3
Merge pull request #17 from modelrockettier/master
Update debian URLs and remove libattr from dependencies
2019-01-22 13:34:09 -05:00
Tim Schlueter
854f7e2dd6 Updated homepage, repo, and watch urls for debian package 2019-01-14 00:42:42 -08:00
Tim Schlueter
b821144deb Abort compilation early if pkg-config fails 2019-01-14 00:42:42 -08:00
Tim Schlueter
f35d14415d libattr is no longer necessary 2019-01-14 00:42:42 -08:00
Kent Overstreet
8630059e6a Update bcachefs sources to bcca1c557b bcachefs: fixes for getting stuck flushing journal pins 2019-01-14 00:49:02 -05:00
koverstreet
d3b9fb6873
Merge pull request #16 from modelrockettier/makefile-tweaks
Makefile, gitignore, and initramfs hook improvements
2019-01-13 22:43:50 -05:00
Tim Schlueter
bdeffdf3c7 Replaced mkdir -p with install -D in make install
Also added a comment about the bcachefs utility to the initramfs hook
2019-01-13 19:31:04 -08:00
Tim Schlueter
079e6ab647 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.
2019-01-13 19:31:04 -08:00
koverstreet
b199b91cb4
Merge pull request #15 from modelrockettier/update-initramfs
Update initramfs after .deb install or uninstall
2019-01-13 22:09:43 -05:00
Tim Schlueter
287db5472d Fix format -g to create a disk group 2019-01-13 18:53:37 -08:00
Tim Schlueter
e64e781bf1 Update initramfs after .deb install or uninstall
Also removed the unnecessary debian/bcachefs-tools.dirs file
2019-01-13 18:53:37 -08:00
Kent Overstreet
47bd483d27 Update bcachefs sources to ef60854e99 bcachefs: More allocator startup improvements 2019-01-13 20:53:25 -05:00
Kent Overstreet
0229719228 Use 16k stack size 2019-01-13 16:57:26 -05:00
Kent Overstreet
52e4726b51 delete dead code 2019-01-13 15:24:51 -05:00
Kent Overstreet
1504d4c98a check for errors from pthread_create() 2019-01-13 15:17:03 -05:00
Kent Overstreet
5f7dd4b4b2 Fix target options 2019-01-13 14:15:01 -05:00
Kent Overstreet
6892dcbcc0 readd -q (--quiet) 2019-01-03 10:23:42 -05:00
Kent Overstreet
825d180c07 Delete more shim layer code 2018-12-19 20:34:24 -05:00
Kent Overstreet
94cafcb8e5 New setattr command 2018-12-19 18:27:57 -05:00
Kent Overstreet
e45b8acdc1 Fix a divide by zero 2018-12-19 18:27:57 -05:00
Kent Overstreet
0e9822571c Use opts.h for format options 2018-12-19 18:27:57 -05:00
Kent Overstreet
99ccaf73a8 Update bcachefs sources to 2724e115d2 bcachefs: Lots of option handling improvements 2018-12-19 15:21:54 -05:00
Kent Overstreet
f9ba96e165 Update bcachefs sources to 57ea7773cb bcachefs: Fix duplicate ioctl nr 2018-12-17 09:26:29 -05:00
Kent Overstreet
a10a41fa2b Update bcachefs sources to f7670cba39 bcachefs: Fix for building in userspace 2018-12-12 06:25:37 -05:00
Kent Overstreet
0c7db4eca3 Update bcachefs sources to 62de7539dc bcachefs: Make bkey types globally unique 2018-11-30 12:51:13 -05:00
Kent Overstreet
bca8b084ad Update bcachefs sources to da7fefde29 bcachefs: shim for userspace raid library 2018-11-23 03:05:20 -05:00
Kent Overstreet
c416528eaa snapraid 2018-11-23 02:10:44 -05:00
Kent Overstreet
cc6479303f Update bcachefs sources to a9f14c773f bcachefs: More btree gc refactorings 2018-11-12 19:22:36 -05:00