Commit Graph

630 Commits

Author SHA1 Message Date
Kent Overstreet
db931a4571 Update bcachefs sources to e1d0fb8c5f bcachefs: Don't require flush/fua on every journal write 2020-12-04 13:45:33 -05:00
Kent Overstreet
d7fdc2b61e Ensure we always print a message if fsck doesnt't return 0 2020-12-03 19:15:37 -05:00
Kent Overstreet
dd707c9bfd Update bcachefs sources to 0010403265 bcachefs: Fix spurious alloc errors on forced shutdown 2020-12-03 13:13:53 -05:00
Kent Overstreet
1e574cb1aa Update bcachefs sources to 021e62a098 bcachefs: Fix error in filesystem initialization 2020-11-30 00:06:46 -05:00
Kent Overstreet
41bec63b26 Add a subcommand for resizing the journal
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2020-11-17 10:52:39 -05:00
Kent Overstreet
9225f81a49 Update bcachefs sources to b1107114ca bcachefs: Add an ioctl for resizing journal on a device 2020-11-17 10:52:20 -05:00
Kent Overstreet
13f53aa228 Update bcachefs sources to d1fd471830 bcachefs: Add more debug checks 2020-11-16 18:23:54 -05:00
Kent Overstreet
3420d86959 Round up aligned_alloc() allocations
this fixes an address sanitizer splat

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2020-11-16 18:23:47 -05:00
Kent Overstreet
4915b450e2 Improve some log messages 2020-11-13 16:45:21 -05:00
Kent Overstreet
4df03a2ead Fix kmalloc_array macro
This was causing us some valgrind errors.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2020-11-08 15:23:13 -05:00
Kent Overstreet
d2a118d921 Update bcachefs sources to 1d669389f7 bcachefs: use a radix tree for inum bitmap in fsck 2020-11-07 13:09:23 -05:00
Kent Overstreet
742dbbdbb9 Update bcachefs sources to 8436db7aac bcachefs: Drop alloc keys from journal when -o reconstruct_alloc 2020-10-24 21:21:56 -04:00
Kent Overstreet
96f4a81a01 Update bcachefs sources to 13bb4cdf89 bcachefs: Indirect inline data extents 2020-10-24 21:01:26 -04:00
Kent Overstreet
37270fc79c Update bcachefs sources to ff83eed5f5 bcachefs: Fix bch2_mark_stripe() 2020-10-23 18:43:51 -04:00
Kent Overstreet
8a440895bf Update bcachefs sources to 26c226917f bcachefs: Start/stop io clock hands in read/write paths 2020-10-17 18:17:36 -04:00
Kent Overstreet
eff87a4c44 Build with -Wno-zero_length_bounds
Copying the linux kernel build settings
2020-10-15 22:54:22 -04:00
Kent Overstreet
7df1badafb Update bcachefs sources to 0568ed4886 bcachefs: Fix copygc dying on startup 2020-10-15 22:53:27 -04:00
Kent Overstreet
487ddeb03c Add a shell script version of mount.bcachefs
Sadly, some people are still running distributions too old to properly
support rust :( In the long term we'd like to use Rust for more of
userspace (and potentially in the kernel); this is just a stopgap
measure.
2020-08-24 23:17:17 -04:00
koverstreet
da730dc67c
Merge pull request #38 from jnsaff/patch-1
Fixes tests which have broken since 'list' improvements
2020-08-24 17:07:57 -04:00
Kent Overstreet
9b3a770ae3 make D=1 now implies valgrind
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2020-08-24 16:27:42 -04:00
Kent Overstreet
a9a46467e6 Assorted debug and fsck improvements
This adds a new list mode to "bcachefs list", for printing out nodes as
they exist on disk (before being merge sorted). Also some improvements
to fsck return values.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2020-08-24 16:26:22 -04:00
Kent Overstreet
cd9892e543 Update bcachefs sources to 10ab39f2fa bcachefs: Improvements to the journal read error paths 2020-08-24 16:25:05 -04:00
Jaanus Torp
4a81dc2fa3
Fixes tests which have broken since 'list' improvements
Improvements to the 'list' command broke the basic test assertion that the output should be only 2 lines. Now it's 95 lines. This PR fixes this test for now.

Thank you for the great work!
2020-08-22 14:30:50 +00:00
Kent Overstreet
21ade39653 Initial WIP new user's manual 2020-07-25 16:20:56 -04:00
Kent Overstreet
20a7160f9a Add missing build dependency 2020-07-20 13:13:20 -04:00
Kent Overstreet
b867ddadb3 print out sequence number in show-super 2020-07-08 15:58:35 -04:00
koverstreet
ecdf4b64ad
Merge pull request #36 from Finermeerkat137/man
remove any mention of tier from man pages
2020-07-03 17:40:39 -04:00
Sudhip Nashi
2b7dfd1728
remove any mention of tier from man pages 2020-07-02 17:17:48 -05:00
Kent Overstreet
0fb2a39a69 Update bcachefs sources to f385d13bf8 fixup! bcachefs: Fix bch2_extent_can_insert() not being called 2020-07-02 13:29:45 -04:00
Kent Overstreet
8d3227fdd8 Make some improvements to bcachefs fs show 2020-07-02 13:28:39 -04:00
Kent Overstreet
3b3574e8f6 Update bcachefs sources to 9f34144308 bcachefs: Refactor dio write code to reinit bch_write_op 2020-06-29 19:21:45 -04:00
koverstreet
37c9ba26af
Merge pull request #32 from hyperfekt/patch-1
correct flag listing in fsck help text
2020-06-26 21:50:33 -04:00
Kent Overstreet
0243e4d41c Update bcachefs sources to b1708f0191 bcachefs: Fix a null ptr deref in bch2_btree_iter_traverse_one() 2020-06-26 14:51:58 -04:00
Kent Overstreet
f8f84d9388 Update bcachefs sources to 8a316f4112 bcachefs: Give bkey_cached_key same attributes as bpos 2020-06-15 17:00:02 -04:00
Kent Overstreet
1d4bb7f4d1 Add an option to list_journal to list entire contents of journal 2020-06-15 16:27:30 -04:00
Kent Overstreet
05408b6f8f Update bcachefs sources to 4837f82ee1 bcachefs: Use cached iterators for alloc btree 2020-06-15 16:27:19 -04:00
Kent Overstreet
c32bba1325 Fix build when CONFIG_BCACHEFS_DEBUG=y 2020-06-04 07:57:09 -04:00
Kent Overstreet
1952c0790c Update bcachefs sources to c9b4a210f9 fixup! bcachefs: Fixes for going RO 2020-06-03 19:56:33 -04:00
hyperfekt
8429b98a0a correct flag listing in fsck help text 2020-05-27 16:40:42 +00:00
Kent Overstreet
90d54b3886 Improved functionality for cmd_list 2020-05-25 22:27:34 -04:00
koverstreet
bae7a9ae8d
Merge pull request #31 from yshui/master
kmalloc: use posix_memalign
2020-05-23 12:55:02 -04:00
Yuxuan Shui
69413acbdc kmalloc: use posix_memalign
posix_memalign doesn't have the restriction that size must be a multiply
of alignment.

This also reverts the fix in commit f3fdbbfa92.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2020-05-23 17:43:38 +01:00
Kent Overstreet
f8d4cbe40b Update log2.h from linux kernel
This fixes a build breakage where the old log2.g referenced
__ilog2_NaN() which we weren't defining.
2020-05-21 17:19:47 -04:00
koverstreet
e96c6508cf
Merge pull request #30 from yshui/master
Make sure aligned_alloc size is a multiply of alignment
2020-05-21 16:34:58 -04:00
Yuxuan Shui
f3fdbbfa92 Make sure aligned_alloc size is a multiply of alignment
Fix a ASan complaint.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2020-05-21 14:36:00 +01:00
Kent Overstreet
6a765fd085 Add reconstruct_alloc option to fsck 2020-05-18 14:58:07 -04:00
Kent Overstreet
34c9be19b3 Update bcachefs sources to e1f6739c4a bcachefs: Fix another iterator counting bug 2020-05-14 21:48:52 -04:00
Kent Overstreet
024a01bf07 Add --offline to device set-state 2020-05-08 21:25:25 -04:00
Kent Overstreet
f55b90dec9 Don't build mount.bcachefs by default
So as not to depend on rust yet
2020-05-08 21:25:12 -04:00
Kent Overstreet
bbd44ea34f Improve list_journal command 2020-05-08 18:45:56 -04:00