Commit Graph

571 Commits

Author SHA1 Message Date
Kent Overstreet
b540b170c9 Update bcachefs sources to cddca21efc bcachefs: Don't use sha256 for siphash str hash key 2019-10-04 16:22:37 -04:00
Kent Overstreet
7f69c4161c Update bcachefs sources to 380885b0b8 bcachefs: Fix counting iterators for reflink pointers 2019-10-01 16:30:36 -04:00
Kent Overstreet
98b8f8d0c0 Update six locks 2019-10-01 15:55:42 -04:00
Kent Overstreet
db39aa3e1b Update bcachefs sources to 5a3a4087af bcachefs: Convert a BUG_ON() to a warning 2019-09-25 15:23:50 -04:00
Kent Overstreet
ceee9244de Have cmd_dump fix errors
Some errors can't be ignored, and fsck and thus dump will only complete
if we're fixing errors.
2019-08-29 13:33:42 -04:00
Kent Overstreet
aa2a42b0a6 Update bcachefs sources to fee79cd654 bcachefs: Fix BTREE_INSERT_NOMARK_OVERWRITES 2019-08-29 13:32:04 -04:00
Kent Overstreet
68963f1816 Update bcachefs sources to 0d627739e9 bcachefs: Improve pointer marking checks and error messages 2019-08-29 11:44:11 -04:00
Kent Overstreet
7f35a52029 Add a way to pass arbitrary mount options to fsck 2019-08-28 13:43:45 -04:00
Kent Overstreet
92fc14824f Update bcachefs sources to 05ef7000f2 bcachefs: Switch reconstruct_alloc to a mount option 2019-08-28 13:43:42 -04:00
Kent Overstreet
8192cc8ed8 Update llist code
This fixes a bug where the compiler was dropping a null ptr check
2019-08-28 11:35:00 -04:00
Kent Overstreet
e6e7d374e7 Update bcachefs sources to bfb7133d71 bcachefs: Refactor bch2_alloc_write() 2019-08-28 11:09:35 -04:00
Kent Overstreet
c8322ce68c Update bcachefs sources to 4ed63a3241 bcachefs: Trust in memory bucket mark 2019-08-28 00:31:57 -04:00
Kent Overstreet
cc41f52bcc Update bcachefs sources to 14f68409be bcachefs: Optimize fiemap 2019-08-27 17:37:03 -04:00
Kent Overstreet
8b02f791c3 Build with -fno-delete-null-pointer-checks
Some of the code we use from the Linux kernel won't build correctly
without this...
2019-08-27 13:33:57 -04:00
Kent Overstreet
72a408f848 Update bcachefs sources to ece184f718 bcachefs: Reflink 2019-08-21 13:19:36 -04:00
koverstreet
f5ec33b556
Merge pull request #20 from highvoltage/master
Fix typos
2019-08-21 12:20:30 -04:00
Jonathan Carter
ed1c0e8c30 Fix typos 2019-08-21 10:19:25 +02:00
koverstreet
4c96e9dda3
Merge pull request #19 from stintel/master
cmd_device_remove: allow removal by device id
2019-08-17 14:24:56 -04:00
Stijn Tintel
e57c053797 cmd_device_remove: allow removal by device id
If a disk is absent, there is no way to remove it from the filesystem.
Add the possibility to remove devices by id, to allow removal of missing
disks.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2019-08-16 21:07:32 +03:00
Kent Overstreet
692eadd6ca Update bcachefs sources to 22776fe990 bcachefs: Convert some assertions to fsck errors 2019-07-13 13:10:00 -04:00
Kent Overstreet
08021fd550 Update bcachefs sources to b5fff15213 bcachefs: Fix ec_stripes_read() 2019-07-12 17:11:10 -04:00
Kent Overstreet
33c91e2ff4 Update bcachefs sources to 44dc1f2695 bcachefs: Fix stripe_idx_to_delete() 2019-07-11 12:46:42 -04:00
Kent Overstreet
f96ba8e0aa Update bcachefs sources to b91a514413 bcachefs: Don't try to delete stripes when RO 2019-07-11 12:00:51 -04:00
Kent Overstreet
07a0a5b5c4 Fix cmd_fs_usage for more than 4 devices
The ioctl returns -ERANGE when there's more devices than fit in the
buffer, not -ENOSPC

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2019-06-13 11:10:49 -04:00
Kent Overstreet
34b9374705 Update bcachefs sources to 7e42539c80 bcachefs: Don't overflow stack in bch2_extent_merge_inline() 2019-05-29 20:06:53 -04:00
Kent Overstreet
7e35389599 Update bcachefs sources to f38382c574 bcachefs: Improve key marking interface 2019-05-24 11:58:42 -04:00
Kent Overstreet
93bdfcb210 Update bcachefs sources to 454bd4f82d bcachefs: Fix for the stripes mark path and gc 2019-05-08 19:13:46 -04:00
Kent Overstreet
b485aae1ba Update bcachefs sources to 6f603b8d79 bcachefs: some improvements to startup messages and options 2019-04-17 19:00:38 -04:00
Kent Overstreet
f652fdc962 define XATTR_CREATE/XATTR_REPLACE for systems with old headers 2019-04-11 00:31:22 -04:00
Kent Overstreet
0abf87f973 fix check for SYS_random 2019-04-10 17:37:00 -04:00
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