Commit Graph

28 Commits

Author SHA1 Message Date
Kent Overstreet
ebb76d0c4a Get blocksize from the devices if it's not specified 2013-04-23 17:43:47 -07:00
Gabriel
94755cc757 Update data offset format and warn about the previous one.
Also update the macro to select a bdev.
Also reindent.
2013-04-15 12:48:39 -07:00
Gabriel
1407bb0c2a Trivial build fix. 2013-04-12 02:30:04 +02:00
Gabriel
dc405a8f94 Add a flag to pick the cache set uuid. 2013-04-11 17:19:10 -07:00
Kent Overstreet
3088f201ed Update for new superblock version for data_offset 2013-04-11 16:56:27 -07:00
Kent Overstreet
335ac31ba5 Fix option parsing so that passing --bucket_size after the device works
This makes supporting -U more annoying; dropping that for the moment,
unless someone complains
2013-04-09 13:29:06 -07:00
Gabriel
3b6ae63e49 Fix offsets, cache and backing are two different cases. 2013-03-09 15:51:17 +01:00
Kent Overstreet
133c859a24 Better validation, and use O_EXCL when opening block device 2012-11-21 15:31:49 -08:00
Kent Overstreet
f2a9bace37 Change default blocksize to one sector 2012-08-15 13:04:46 -07:00
Kent Overstreet
7f023533a8 Add --discard and --cache_replacement_policy 2012-01-18 16:05:32 -08:00
Kent Overstreet
d1bc71ca43 The --writeback switch did nothing; fixed 2011-09-01 14:37:48 -07:00
Kent Overstreet
18e46dc1c3 Add more long options and improve usage() 2011-08-09 17:33:03 -07:00
Kent Overstreet
e8c85bb806 Add a --writeback switch to make-bcache 2011-07-31 19:29:22 -07:00
Ricky Benitez
a02bc8df01 Add checksum to superblock
Add checksum to the superblock to prevent warning messages when
registering devices.
2011-07-26 10:02:15 -07:00
Kent Overstreet
02614b5c81 Give make-bcache the ability to format multiple devices at once 2011-07-25 11:28:05 -07:00
Kent Overstreet
c798b43ade New superblock format 2011-07-25 00:18:42 -07:00
Kent Overstreet
4f88b8efe2 Add an option for setting the set uuid 2011-07-12 15:42:37 -07:00
Kent Overstreet
9e6daaffa7 Don't overwrite priorities that aren't there on a backing device 2011-05-24 14:12:00 -07:00
Kent Overstreet
eb9054a32e Updates for backing devices 2011-05-19 20:25:14 -07:00
Kent Overstreet
1a7ae034f6 New superblock fields for multiple cache devices 2011-04-15 13:22:09 -07:00
Kent Overstreet
0b4b6fe2d3 Stuff 2011-02-13 07:01:10 -08:00
Kent Overstreet
04a54144fd Documentation 2010-12-16 01:22:45 -08:00
Kent Overstreet
7e97901075 UUIDs 2010-10-08 07:04:49 -07:00
Kent Overstreet
e7b1ba1bd0 Cleanups 2010-07-29 23:05:51 -07:00
Kent Overstreet
41ad07857e sync 2010-06-15 05:15:32 -07:00
Kent Overstreet
11a1a3ca52 Checksum test 2010-05-14 08:54:26 -08:00
Kent Overstreet
5936daea26 Should work on 32 bit 2010-05-08 10:31:53 -08:00
Kent Overstreet
625ca7f8fb Initial commit 2010-05-04 17:58:22 -08:00