Kent Overstreet
ab88049a08
linux shim: return an error on failure to open
2017-02-02 17:25:59 -09:00
Kent Overstreet
379520ee87
Fix initialization order bug
2017-02-02 12:57:48 -09:00
Kent Overstreet
b33fc8298f
bcache in userspace; userspace fsck
2017-01-20 09:07:08 -09:00
Kent Overstreet
7f4191a202
add support for maximum journal entry size
...
also rip out prototype crypto support code - real code is in the dev
branch, with the new superblock format
2016-12-11 14:58:27 -09:00
Kent Overstreet
4e158e1553
add dependency generation to make file
2016-10-11 17:50:54 -08:00
Kent Overstreet
8957361d8f
print filesystem size in bcache_super_print()
2016-10-11 17:44:03 -08:00
Kent Overstreet
f4eba6559b
finish ripping out libnih
2016-10-06 07:19:55 -08:00
Kent Overstreet
f3a8d54837
bcache device_show now dumps superblocks
2016-10-06 06:52:54 -08:00
Kent Overstreet
837a476cc1
bucket size must be a power of two
2016-09-05 18:20:21 -08:00
Kent Overstreet
580ec0497a
clang doesn't like nested functions
2016-08-30 16:31:34 -08:00
Kent Overstreet
bca2b16e55
Documentation/makefile work
2016-08-28 18:00:54 -08:00
Kent Overstreet
97de91cb58
minimum number of buckets now 1024
2016-08-25 20:55:43 -08:00
Kent Overstreet
cdd61de630
Rework option handling
2016-08-25 17:39:01 -08:00
Kent Overstreet
932ece1567
master key nonce
2016-08-21 22:16:27 -08:00
Kent Overstreet
b0f08fc1e3
Encryption support
2016-08-17 13:23:03 -08:00
Kent Overstreet
dda0923eeb
debify
2016-04-25 17:14:11 -08:00
Kent Overstreet
f2e0c20309
endianness
2016-03-11 21:18:57 -09:00
Kent Overstreet
284c963646
bin, not sbin
2016-03-11 21:18:57 -09:00
Kent Overstreet
cbde373685
On disk format updates
2016-03-11 21:18:57 -09:00
Kent Overstreet
009d6db7b0
Redo lots of stuff
2016-03-11 21:18:42 -09:00
Kent Overstreet
074caf716a
Don't install udev hook - it's confusing with bcachefs
2015-08-28 09:04:02 -08:00
Kent Overstreet
e460b80cb1
Fix help for --compression-type
2015-08-28 02:06:01 -08:00
Mike Krinkin
e9acf2e0d2
Fix build error with libblkid usage
2015-08-26 16:23:44 -08:00
Kent Overstreet
f45d84c6ab
Add support for setting data checksum type, compression type
2015-06-19 00:57:03 -07:00
Kent Overstreet
15a004c7a2
add an option for writing old superblocks
2015-05-10 23:33:10 -07:00
Kent Overstreet
fb22ceda3e
rewrite
2015-05-10 21:36:46 -07:00
Kent Overstreet
da1fff8700
Better default bucket size
2015-03-30 07:35:39 -07:00
Kent Overstreet
e13d21ade7
Major refactoring, add new settings to bcacheadm format
2015-03-28 23:21:33 -07:00
Kent Overstreet
fedea00623
Minor cleanup
2015-03-15 15:50:07 -07:00
Kent Overstreet
e24b52260e
Remove autotools stuff
2015-03-15 15:49:11 -07:00
Slava Pestov
7ae2165053
bcache-tools: update for superblock changes
...
Change-Id: I660fef1366005377041cac5d75771d2fdc8c0824
2015-02-13 13:45:53 -08:00
Jacob Malevich
eb1d49d3f1
bcacheadm: fix capacity command
...
regression from 5730e47b
Signed-off-by: Jacob Malevich <jam@daterainc.com>
Issue DAT-1977
Change-Id: I598ca9e5623fde441bb842580c2494fd03316f00
2015-02-12 14:05:52 -08:00
Jacob Malevich
ffb068c2b4
bcacheadm: Handle missing arg in rm-dev
...
Signed-off-by: Jacob Malevich <jam@daterainc.com>
Issue DAT-1978
Change-Id: Iec1252f39bb1931ec4544b56b7db24c43253b8cd
2015-02-10 14:39:56 -08:00
Kent Overstreet
2859e5d780
Add option to set btree node size, give it sane default
...
Change-Id: Ic6d0a79b8a33c8c17422e0875d9e8d3fb3ef6d98
2015-02-09 21:51:56 -08:00
Jacob Malevich
16d5881bad
bcacheadm: print more info in query_dev
...
Also display the internal cacheset uuid for each dev, stored in
the superblock.
As well as the dev uuid stored in the struct member_info.
Signed-off-by: Jacob Malevich <jam@daterainc.com>
Issue DAT-1913
Change-Id: Ib9815a023b0791c54ffde573fda1e9911d757c34
2015-02-02 19:38:27 -08:00
Jacob Malevich
3fa318e8b7
bcacheadm: add "list-cachesets --internal_uuid UUID" option
...
This shows the superblock set_uuid, given the user_uuid.
Signed-off-by: Jacob Malevich <jam@daterainc.com>
Issue DAT-1913
Change-Id: If5f81427ac02bceeb609ae119f044de3fb5a0d77
2015-02-02 17:37:27 -08:00
jenkins
8c9ab06141
Merge branch 'master' of ssh://gits.daterainc.com:2984/project/2014.KERNEL.rk/bcache-tools
...
Issue DAT-
2015-01-29 18:35:31 -08:00
jenkins
ba06f99a9c
Merge branch 'master' of ssh://gits.daterainc.com:2984/project/2013.KERNEL/bcache-tools
...
Issue DAT-
2015-01-29 18:11:23 -08:00
jenkins
aae18fb8c9
Merge branch 'master' of ssh://gits.daterainc.com:2984/project/2013.KERNEL/bcache-tools
...
Issue DAT-
2015-01-29 18:11:19 -08:00
Kent Overstreet
c6fd0321f8
Revert "if cache_set uuid is given in format command, then put the same"
...
This reverts commit 38aa84d04b
- previous patch
fixed this correctly.
Change-Id: I76436860a85223883efcdbb1f91c4ff874a9f3b0
2015-01-29 22:58:21 +00:00
Kent Overstreet
2ef1c983d5
Display new user_uuid instead of internal cache set uuid
...
Change-Id: I9166876dba44de96f8e3f2da8f16728cbb57540a
2015-01-29 22:58:15 +00:00
Raghu Krishnamurthy
b0ed54d843
Do not stop scanning on a cache-device link is missing since
...
it might not exists when a cache disk device is removed and
further cache device might be active.
Also handle the case where cache set might not be registered
and the status should just believe what the super block
says and not mark the disk as missing.
This part of code needs optimization but that is a separate
change.
Issue DAT-1859
Issue DAT-1860
Change-Id: I7eb8e8ff517eae240fde30c70b3ac90aa9a50ed6
2015-01-28 21:53:55 -08:00
Raghu Krishnamurthy
38aa84d04b
if cache_set uuid is given in format command, then put the same
...
information in both set-uuid and user-uuid until support is added
in the CLI to display user-uuid as part of query-devs and in
format command to accept set_uuid and user_uuid.
Issue DAT-
Change-Id: I6f2306d858211933cb783f0efe8fe0ade64dd312
2015-01-28 16:59:38 -08:00
Kent Overstreet
5730e47b6f
Cleanup, rip out more code, fix compiler warnings
...
Change-Id: I76b410dc700a917d2717b1ceda0df061a1599144
2015-01-27 13:45:02 -08:00
Kent Overstreet
112aacfeff
update stop ioctl
...
Change-Id: Ib1757baa0bcc48082cb36848b5f06da2cc401437
2015-01-27 13:42:24 -08:00
Kent Overstreet
3301c8dd52
Update for bcache superblock changes
...
Also, drop make-bcache - it's superceded by bcacheadm
Change-Id: I88ee25a1c13f2cbb0b0efa6e01bdca3f069bab62
2015-01-21 23:11:47 -08:00
jenkins
7243fbd22d
Merge branch 'master' of ssh://gits.daterainc.com:2984/project/2013.KERNEL/bcache-tools
...
Issue DAT-
2015-01-21 00:44:46 -08:00
Slava Pestov
34c87b0e98
bcacheadm: add --writearound flag for testing, probably not useful
...
Change-Id: Ia4a2125a50d7b102791b8fc64b48bd102d8cdc89
2015-01-20 22:18:52 -08:00
Slava Pestov
15c8235aa4
bcacheadm: fix --cache_replacement_policy flag
...
Change-Id: Ic1f97df531345e1c4cb9a83f0fc5463718f56c60
2015-01-15 21:41:40 -08:00
Kent Overstreet
2f0a24917b
update for bcache header changes
...
Change-Id: I5c64d438dac8bc28411f9a25e1be711477a3af80
2015-01-15 19:27:21 -08:00