Commit Graph

1008 Commits

Author SHA1 Message Date
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
koverstreet
5292f7e27d
Merge pull request #28 from yshui/mount
Add a mount.bcachefs tool
2020-05-05 17:59:44 -04:00
Yuxuan Shui
57ada395b2 Add a mount.bcachefs tool
This tool currently has most of the fundmental features implemented.
It can mount a filesystem specified by uuid, it can ask password for an
encrypted filesystem.

There may be some work that needs to be done to make it behave more like
a "mount.*" tool.

Related: #1

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2020-05-05 21:33:40 +01:00
koverstreet
06c81e31b5
Merge pull request #27 from yshui/master
Fix building on musl
2020-05-05 16:25:43 -04:00
Yuxuan Shui
5bc48bd428
Fix building on musl
* Add missing linux/stddef.h includes
* Explicitly cast PAGE_SIZE to size_t. PAGE_SIZE is defined without UL
  suffix in musl
* Musl doesn't define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP, so
  initialize the mutexes with pthread_once.
2020-05-05 10:29:31 +01:00
Kent Overstreet
6e9f460240 Set device read-only if necessary before evacuate 2020-04-25 16:42:09 -04:00
Kent Overstreet
b87ed383d3 Flush stdout when displaying progress bar
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2020-04-24 19:08:39 -04:00
Kent Overstreet
9073be1298 Don't use pkgconfig for libkeyutils
Centos 7 has an old version that doesn't have the .pc file
2020-04-23 21:16:05 -04:00
Kent Overstreet
5d6e237b72 Update bcachefs sources to a27d7265e7 bcachefs: Fix a debug mode assertion 2020-04-04 16:48:39 -04:00
Kent Overstreet
a62d8713f8 Update bcachefs sources to 7bfc741f64 bcachefs: Fix a null ptr deref during journal replay 2020-04-04 13:59:13 -04:00
Kent Overstreet
c452666fb3 Update bcachefs sources to a897b0f199 bcachefs: Fix a locking bug 2020-03-30 17:46:47 -04:00
Kent Overstreet
fad8236b81 Update bcachefs sources to 275cba438e bcachefs: Fix inodes pass in fsck 2020-03-30 14:34:20 -04:00
Kent Overstreet
2aed686c23 Update bcachefs sources to 96b991466a bcachefs: Improve error message in fsck 2020-03-25 17:59:36 -04:00
Kent Overstreet
2dbedd962b Add a command for dumping contents of journal 2020-03-25 16:23:29 -04:00
Kent Overstreet
517440cc98 Update bcachefs sources to 76f72a0cc7 bcachefs: Improve error message in fsck 2020-03-25 16:15:56 -04:00
Kent Overstreet
2bd18f4bae Use pkgconfig for libkeyutils 2020-03-25 16:01:38 -04:00
Kent Overstreet
8bcd38555c Update bcachefs sources to fd637ebda0 bcachefs: Journal updates to interior nodes 2020-03-25 15:56:38 -04:00
Kent Overstreet
096f2ec00e Update bcachefs sources to 3592e42edf bcachefs: Shut down quicker 2020-03-18 11:49:11 -04:00
Kent Overstreet
d488efb9d9 Update bcachefs sources to b47904df3c bcachefs: Clear BCH_FEATURE_extents_above_btree_updates on clean shutdown 2020-03-17 12:45:17 -04:00
Kent Overstreet
2286a79ccb Update bcachefs sources to d9bb516b2d bcachefs: Move extent overwrite handling out of core btree code 2020-03-15 20:24:57 -04:00
Kent Overstreet
96a6a5a58f Update bcachefs sources to 7e07e19c29 bcachefs: Traverse iterator in journal replay 2020-03-09 16:27:23 -04:00
Kent Overstreet
2d238045d3 Update bcachefs sources to 4a4139a563 bcachefs: Fix extent_sort_fix_overlapping() 2020-03-02 17:10:54 -05:00
Kent Overstreet
14e736e627 Change cmd_dump to not read in leaf nodes 2020-03-02 15:49:33 -05:00