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
Kent Overstreet
dbb99e492d
Update bcachefs sources to 1210f6c925 bcachefs: BCH_SB_FEATURES_ALL
2020-02-26 19:12:07 -05:00
koverstreet
ac0d08877a
Merge pull request #26 from unquietwiki/master
...
RPM packaging support
2020-02-26 13:22:30 -05:00
Michael Adams
434cb1229a
Update userspace-rcu.spec
2020-02-24 00:23:48 -08:00
Kent Overstreet
7c4552717f
Update bcachefs sources to 9017d85854 bcachefs: btree_ptr_v2
2020-02-22 16:21:32 -05:00
Kent Overstreet
e0eb64c846
Update bcachefs sources to 3cd63315a6 bcachefs: Track incompressible data
2020-01-21 17:24:32 -05:00
Michael Adams
281b65efb1
RPM packaging support
2020-01-21 01:30:01 -08:00
Kent Overstreet
4d697aa315
Don't leak ksets
2020-01-09 18:02:22 -05:00
Kent Overstreet
ab2f1ec24f
Update bcachefs sources to d763e8ab17 bcachefs: Don't lose needs_whiteout in overwrite path
2020-01-06 13:49:52 -05:00
Kent Overstreet
3046915927
Update bcachefs sources to c9eb15545d bcachefs: Don't call trans_iter_put() on error pointer
2020-01-04 19:24:13 -05:00
Kent Overstreet
abbe66b6a5
Fix dump command for btree ptr key type change
...
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2020-01-04 15:46:31 -05:00
Kent Overstreet
7c39a1cf1b
fs_usage cmd fixes
...
- Sort devices by device name if they don't have a label
- We were printing the wrong devices in the device list in the per-data
entries
2020-01-03 19:33:05 -05:00
Kent Overstreet
c07ac50dca
Merge remote-tracking branch 'elladan/master'
2019-12-30 11:50:38 -05:00
Justin Husted
c54ea51416
Make die exit using _exit
...
Exiting the standard way on error caused teardown in bad state problems.
Signed-off-by: Justin Husted <sigstop@gmail.com>
2019-12-29 13:08:35 -08:00
Kent Overstreet
306cf00818
Update bcachefs sources to aae76fba15 bcachefs: Use KEY_TYPE_deleted whitouts for extents
2019-12-29 11:15:34 -05:00
Justin Husted
f24bf2af6b
Well, arm64 crashed. Turn that off for now.
...
Signed-off-by: Justin Husted <sigstop@gmail.com>
2019-12-28 20:38:26 -08:00
Justin Husted
e19950a252
bcachefs-tools: Add arm64 build on travis-ci.
...
Signed-off-by: Justin Husted <sigstop@gmail.com>
2019-12-28 20:34:31 -08:00
Justin Husted
15bcfb2a33
Add a travis.yml file for bcachefs-tools.
...
Signed-off-by: Justin Husted <sigstop@gmail.com>
2019-12-28 20:32:39 -08:00
Justin Husted
5d79efdd19
bcachefs-tools: Fix test.
...
Signed-off-by: Justin Husted <sigstop@gmail.com>
2019-12-28 20:10:02 -08:00
Kent Overstreet
fec2d17f20
Update bcachefs sources to 1569db10e2 bcachefs: Use KEY_TYPE_deleted whitouts for extents
2019-12-28 20:34:36 -05:00
Kent Overstreet
50de96f5b2
show-super now lists superblock features
2019-12-28 20:31:41 -05:00
Kent Overstreet
f0d907189f
Update bcachefs sources to 86a99a7b7f bcachefs: Convert some enums to x-macros
2019-12-28 20:31:39 -05:00
Justin Husted
3b8db3d7be
bcachefs-tools: Add a smoke test master script.
...
This script builds and runs with various options to enable easy test
coverage.
Signed-off-by: Justin Husted <sigstop@gmail.com>
2019-12-28 17:08:10 -08:00
Justin Husted
1b74a2bba1
bcachefs-tools: fix test bug in valgrind handling.
...
Signed-off-by: Justin Husted <sigstop@gmail.com>
2019-12-28 16:57:15 -08:00
Justin Husted
ff2b85e039
bcachefs-tools: Fix build errors.
...
The BTREE_INSERT_ATOMIC removal broke fuse.
Signed-off-by: Justin Husted <sigstop@gmail.com>
2019-12-28 15:56:49 -08:00
Justin Husted
4d5e1942bd
bachefs-tools: Fix broken test code.
...
A check was missing in some of the python test code, probably from a bad
cherry-pick.
Signed-off-by: Justin Husted <sigstop@gmail.com>
2019-12-28 15:54:34 -08:00
Justin Husted
17a7161dbe
bcachefs-tools: Fix build break with FUSE.
...
bch2_link_trans() in the filesystem side was fixed to do timestamps
properly, but the change to the tools call got lost.
Signed-off-by: Justin Husted <sigstop@gmail.com>
2019-12-28 15:54:34 -08:00
Kent Overstreet
82c7e8ff35
Update bcachefs sources to cfb41d25c7 bcachefs: Add an assertion to track down a heisenbug
2019-12-28 18:20:16 -05:00
Justin Husted
956a05a126
Make valgrind disabled by default in unit tests.
...
Since valgrind runtime support is disabled by default, we shouldn't run
the tests with valgrind by default.
Signed-off-by: Justin Husted <sigstop@gmail.com>
2019-12-28 14:18:56 -08:00