Commit Graph

53 Commits

Author SHA1 Message Date
Gabriel
944cb4ce32 Register devices with just udev.
This means bcache devices will be registered earlier and in all
cases, not just when the rootfs fails to mount.

The initramfs hook is still there to ensure the bcache module
and udev rules are shipped if an initramfs is used.
2013-04-11 17:08:23 -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
445032e1b6 Use uppercase hex when showing csum and expected. 2013-03-12 17:01:49 +01:00
Gabriel
727c189c59 Show the writeback flag and the discard flag. 2013-03-10 11:04:10 +01:00
Gabriel
1b7cbd1d77 Version cleanup. 2013-03-10 11:03:59 +01:00
Gabriel
3b6ae63e49 Fix offsets, cache and backing are two different cases. 2013-03-09 15:51:17 +01:00
Gabriel
865a3b1f0b Add a command to display a bcache superblock. 2013-03-09 14:33:08 +01:00
Kent Overstreet
42c182c6ab Don't error out if the distro isn't using initramfs 2013-01-22 13:26:53 -08: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
739b971d77 Fix the initramfs script 2012-07-13 00:52:52 -07:00
Kent Overstreet
a3d0e5bafb Update initramfs probe script 2012-04-11 15:33:40 -07:00
Dmitry Smirnov
f4c09286dd bcache-tools: probe-bcache.8 man page
Hi Kent,

please find a little patch (attached) to introduce probe-bcache.8 man page to
bcache-tools.

Thank you.

Cheers,
Dmitry.

From 0ff7680042622e356516739936095cb4eab02de6 Mon Sep 17 00:00:00 2001
From: Dmitry Smirnov <onlyjob@member.fsf.org>
Date: Thu, 16 Feb 2012 13:23:00 +1100
Subject: [PATCH] added probe-bcache.8 man page
2012-02-16 09:14:41 -08:00
Kent Overstreet
7f023533a8 Add --discard and --cache_replacement_policy 2012-01-18 16:05:32 -08:00
Kent Overstreet
58f79db74b Merge branch 'master' of evilpiepirate.org:git/bcache-tools 2011-11-21 14:59:08 -08:00
Gwendal Grignou
35710b9dde Fix more warnings during 32bit compilation
"bcache.c:120: warning: integer constant is too large for 'long' type"
"bcache.c:128: warning: integer constant is too large for 'long' type"

Signed-off-by: Gwendal Grignou <gwendal@google.com>
2011-11-21 14:58:53 -08:00
Dmitry Smirnov
e77d059ee1 Makefile to follow GNU Make best practice 2011-11-20 21:17:43 -08:00
Kent Overstreet
d1bc71ca43 The --writeback switch did nothing; fixed 2011-09-01 14:37:48 -07:00
Gwendal Grignou
a19eab5239 Fix warning during 32bit tool chain compilation
"bcache.c:128: warning: integer constant is too large for 'long' type"

Signed-off-by: Gwendal Grignou <gwendal@google.com>
2011-08-16 13:26:05 -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
Kent Overstreet
552595bc6e Don't write journal buckets 2011-07-26 12:24:00 -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
d1404a0cf1 Bcache tools are now explicitly gpl v2. 2011-07-12 15:44:06 -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
1d895a5a45 read/write and write only modes 2010-08-03 21:04:47 -07:00
Kent Overstreet
e7b1ba1bd0 Cleanups 2010-07-29 23:05:51 -07:00
Kent Overstreet
8dc5698fe9 rework options, benchmark mode 2010-07-03 00:15:06 -07:00
Kent Overstreet
87cc300dbb file_offset_bits=64 2010-07-02 22:02:26 -07:00
Kent Overstreet
41ad07857e sync 2010-06-15 05:15:32 -07:00
Kent Overstreet
018e032f20 auto 2010-06-14 08:59:34 -07:00
Kent Overstreet
f1a77f3eb0 auto 2010-06-01 21:47:35 -07:00
Kent Overstreet
b649d43bcc auto 2010-05-31 19:56:18 -07:00
Kent Overstreet
14db4b49aa auto 2010-05-29 20:27:01 -07:00
Kent Overstreet
5cffe67790 auto 2010-05-29 17:52:44 -07:00
Kent Overstreet
c6d725f9ca auto 2010-05-27 20:42:25 -07:00
Kent Overstreet
4b957af924 fixed random walk 2010-05-23 17:24:43 -08:00
Kent Overstreet
91bc742528 stats 2010-05-23 13:08:27 -08:00
Kent Overstreet
71b4a29224 Writing/checksumming 2010-05-23 10:14:49 -08:00
Kent Overstreet
bbe6fe14d2 Write testing, fixed checksumming 2010-05-22 12:43:34 -08:00
Kent Overstreet
d43ecc82a6 Makefile 2010-05-15 07:26:35 -08:00