]>
git.sesse.net Git - bcachefs-tools-debian/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Rolf Fokkens [Thu, 10 Oct 2013 20:53:02 +0000 (22:53 +0200)]
Simplify 69-bcache.rules
Gabriel: simplified a bit further
Rolf Fokkens [Sun, 6 Oct 2013 21:13:05 +0000 (23:13 +0200)]
Add an INSTALL macro to the Makefile
Rolf Fokkens [Sun, 6 Oct 2013 20:45:41 +0000 (22:45 +0200)]
Add DRACUTLIBDIR to Makefile
Rolf Fokkens [Sun, 6 Oct 2013 18:30:07 +0000 (20:30 +0200)]
Add a dracut module for bcache
Gabriel [Sun, 6 Oct 2013 09:07:20 +0000 (11:07 +0200)]
Move probe-bcache to UDEVLIBDIR
Gabriel [Sat, 5 Oct 2013 19:16:21 +0000 (21:16 +0200)]
udev: Fit into the standard rule sequence
Move the rule to run a bit later, after
the standard udev rules have called blkid.
Don't run blkid manually, and run probe-bcache
as a fallback which can be patched out in a
package that depends on util-linux 2.24+.
probe-bcache: bail if libblkid finds anything
Preserve our last-resort safety check here
in case earlier rules fail to call blkid.
Gabriel [Fri, 5 Jul 2013 21:59:21 +0000 (23:59 +0200)]
super-show: Print label
Gabriel [Fri, 27 Sep 2013 10:05:46 +0000 (12:05 +0200)]
super-show: Show sync mode and cache replacement policy
Gabriel [Sat, 21 Sep 2013 23:13:36 +0000 (01:13 +0200)]
Install the initramfs hook in /usr/share not /etc
Gabriel [Sat, 21 Sep 2013 23:12:52 +0000 (01:12 +0200)]
Use the absolute path to modprobe
This is necessary on Fedora, according to Rolf Fokkens.
Gabriel [Sat, 17 Aug 2013 16:56:50 +0000 (18:56 +0200)]
make-bcache: Prevent stray superblocks
Fail if the device has any leftover superblock or partition table label.
Add a --wipe-bcache flag to overwrite bcache superblocks and recommend
wipefs for non-bcache superblocks.
Once the device is safe to write, always zero immediately before the
bcache superblock.
Make sure errors go to stderr. Use pkg-config.
Kent Overstreet [Mon, 26 Aug 2013 21:46:19 +0000 (14:46 -0700)]
Use register_quiet for udev hook
Gabriel [Sun, 21 Jul 2013 18:17:17 +0000 (20:17 +0200)]
Don't register if a non-bcache superblock is found as well
Lars Ellenberg [Wed, 17 Jul 2013 10:39:14 +0000 (12:39 +0200)]
fix make-bcache to use logical_block_size, not stat.st_blocksize
As discussed on irc yesterday.
Cheers,
Lars
From
791a4b7b2c25e21ffeb4184da5e61f18cde86246 Mon Sep 17 00:00:00 2001
From: Lars Ellenberg <lars@linbit.com>
Date: Wed, 17 Jul 2013 11:49:12 +0200
Subject: [PATCH] make-bcache: fix guessing of "block_size" to use BLKSSZGET
Using stat.st_blocksize is wrong:
that is the linux buffer cache granularity,
it is tunable, and defaults to 4k.
This caused bcache to default to create devices with
logical_block_size = 4k, potentially breaking otherwise healthy disk
or file system images unnecessarily.
e.g. some xfs image previously created with 512 byte "sector size"
would, once bcache'd, refuse to mount with
mount: function not implemented
device supports 4096 byte sectors (not 512)
We want the logical_block_size here.
Kent Overstreet [Thu, 27 Jun 2013 01:42:39 +0000 (18:42 -0700)]
bcache-tools are GPL
Gabriel [Sat, 8 Jun 2013 23:12:40 +0000 (01:12 +0200)]
udev: Add /dev/bcache/by-label symlinks to cached devices
Gabriel [Sat, 8 Jun 2013 01:00:57 +0000 (03:00 +0200)]
udev: Persistent names for cached devices
Add /dev/bcache/by-uuid/ symlinks to cached devices.
Gabriel [Fri, 7 Jun 2013 12:51:43 +0000 (14:51 +0200)]
super-show: Minor manpage clarification
Gabriel [Wed, 5 Jun 2013 19:36:28 +0000 (21:36 +0200)]
super-show: Add a manpage
Taken from tstrickx@rootcu.be's debianisation.
Gabriel [Wed, 1 May 2013 17:20:03 +0000 (19:20 +0200)]
super-show: show detached/clean/dirty/inconsistent status
Gabriel [Wed, 1 May 2013 17:15:18 +0000 (19:15 +0200)]
super-show: print cache mode (writethrough, writeback, writearound, none)
Gabriel [Wed, 1 May 2013 17:25:15 +0000 (19:25 +0200)]
super-show: don't show cache_count
This is a cache-set property, but not terribly useful.
Showing it on backing devices was also incorrect.
Gabriel [Wed, 1 May 2013 15:12:57 +0000 (17:12 +0200)]
super-show: show more cache-related information
Only show nbuckets and nr_this_dev on cache devices;
explain nbuckets' relation to device size by printing
both total_sectors (superblock included) and
cache_sectors (superblock excluded).
Gabriel [Wed, 1 May 2013 14:25:22 +0000 (16:25 +0200)]
super-show: make the version annotation more terse
Gabriel [Fri, 26 Apr 2013 16:50:53 +0000 (18:50 +0200)]
make-bdev: print the correct offset in the default case
Kent Overstreet [Wed, 24 Apr 2013 00:43:47 +0000 (17:43 -0700)]
Get blocksize from the devices if it's not specified
Gabriel [Sat, 9 Mar 2013 13:58:57 +0000 (14:58 +0100)]
Update data offset format and warn about the previous one.
Also update the macro to select a bdev.
Also reindent.
Kent Overstreet [Fri, 12 Apr 2013 18:37:33 +0000 (11:37 -0700)]
use SB_JOURNAL_BUCKETS for superblock
Gabriel [Fri, 12 Apr 2013 00:30:04 +0000 (02:30 +0200)]
Trivial build fix.
Gabriel [Wed, 10 Apr 2013 06:28:16 +0000 (08:28 +0200)]
Add a flag to pick the cache set uuid.
Gabriel [Thu, 11 Apr 2013 14:44:03 +0000 (16:44 +0200)]
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.
Kent Overstreet [Thu, 11 Apr 2013 23:56:15 +0000 (16:56 -0700)]
Update for new superblock version for data_offset
Kent Overstreet [Tue, 9 Apr 2013 20:29:06 +0000 (13:29 -0700)]
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
Gabriel [Tue, 12 Mar 2013 16:01:49 +0000 (17:01 +0100)]
Use uppercase hex when showing csum and expected.
Gabriel [Sun, 10 Mar 2013 10:04:10 +0000 (11:04 +0100)]
Show the writeback flag and the discard flag.
Gabriel [Sun, 10 Mar 2013 10:03:59 +0000 (11:03 +0100)]
Version cleanup.
Gabriel [Sat, 9 Mar 2013 14:51:17 +0000 (15:51 +0100)]
Fix offsets, cache and backing are two different cases.
Gabriel [Sat, 9 Mar 2013 12:22:24 +0000 (13:22 +0100)]
Add a command to display a bcache superblock.
Kent Overstreet [Tue, 22 Jan 2013 21:26:53 +0000 (13:26 -0800)]
Don't error out if the distro isn't using initramfs
Kent Overstreet [Wed, 21 Nov 2012 23:31:49 +0000 (15:31 -0800)]
Better validation, and use O_EXCL when opening block device
Kent Overstreet [Wed, 15 Aug 2012 20:04:46 +0000 (13:04 -0700)]
Change default blocksize to one sector
Kent Overstreet [Fri, 13 Jul 2012 07:52:52 +0000 (00:52 -0700)]
Fix the initramfs script
Kent Overstreet [Wed, 11 Apr 2012 22:33:40 +0000 (15:33 -0700)]
Update initramfs probe script
Dmitry Smirnov [Thu, 16 Feb 2012 02:32:44 +0000 (13:32 +1100)]
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
Kent Overstreet [Thu, 19 Jan 2012 00:05:32 +0000 (16:05 -0800)]
Add --discard and --cache_replacement_policy
Kent Overstreet [Mon, 21 Nov 2011 22:59:08 +0000 (14:59 -0800)]
Merge branch 'master' of evilpiepirate.org:git/bcache-tools
Gwendal Grignou [Mon, 21 Nov 2011 22:43:19 +0000 (14:43 -0800)]
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>
Dmitry Smirnov [Sat, 19 Nov 2011 08:57:46 +0000 (19:57 +1100)]
Makefile to follow GNU Make best practice
Kent Overstreet [Thu, 1 Sep 2011 21:37:48 +0000 (14:37 -0700)]
The --writeback switch did nothing; fixed
Gwendal Grignou [Tue, 16 Aug 2011 07:10:54 +0000 (00:10 -0700)]
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>
Kent Overstreet [Wed, 10 Aug 2011 00:33:03 +0000 (17:33 -0700)]
Add more long options and improve usage()
Kent Overstreet [Mon, 1 Aug 2011 02:29:22 +0000 (19:29 -0700)]
Add a --writeback switch to make-bcache
Kent Overstreet [Tue, 26 Jul 2011 19:24:00 +0000 (12:24 -0700)]
Don't write journal buckets
Ricky Benitez [Tue, 26 Jul 2011 17:02:15 +0000 (10:02 -0700)]
Add checksum to superblock
Add checksum to the superblock to prevent warning messages when
registering devices.
Kent Overstreet [Mon, 25 Jul 2011 17:46:20 +0000 (10:46 -0700)]
Give make-bcache the ability to format multiple devices at once
Kent Overstreet [Mon, 25 Jul 2011 07:18:42 +0000 (00:18 -0700)]
New superblock format
Kent Overstreet [Tue, 12 Jul 2011 22:44:06 +0000 (15:44 -0700)]
Bcache tools are now explicitly gpl v2.
Kent Overstreet [Tue, 12 Jul 2011 22:42:37 +0000 (15:42 -0700)]
Add an option for setting the set uuid
Kent Overstreet [Tue, 24 May 2011 21:12:00 +0000 (14:12 -0700)]
Don't overwrite priorities that aren't there on a backing device
Kent Overstreet [Fri, 20 May 2011 03:25:14 +0000 (20:25 -0700)]
Updates for backing devices
Kent Overstreet [Fri, 15 Apr 2011 20:22:09 +0000 (13:22 -0700)]
New superblock fields for multiple cache devices
Kent Overstreet [Sun, 13 Feb 2011 15:01:10 +0000 (07:01 -0800)]
Stuff
Kent Overstreet [Thu, 16 Dec 2010 09:22:45 +0000 (01:22 -0800)]
Documentation
Kent Overstreet [Fri, 8 Oct 2010 14:04:49 +0000 (07:04 -0700)]
UUIDs
Kent Overstreet [Wed, 4 Aug 2010 04:04:47 +0000 (21:04 -0700)]
read/write and write only modes
Kent Overstreet [Fri, 30 Jul 2010 06:05:51 +0000 (23:05 -0700)]
Cleanups
Kent Overstreet [Sat, 3 Jul 2010 07:15:06 +0000 (00:15 -0700)]
rework options, benchmark mode
Kent Overstreet [Sat, 3 Jul 2010 05:02:26 +0000 (22:02 -0700)]
file_offset_bits=64
Kent Overstreet [Tue, 15 Jun 2010 12:15:32 +0000 (05:15 -0700)]
sync
Kent Overstreet [Mon, 14 Jun 2010 15:59:34 +0000 (08:59 -0700)]
auto
Kent Overstreet [Wed, 2 Jun 2010 04:47:35 +0000 (21:47 -0700)]
auto
Kent Overstreet [Tue, 1 Jun 2010 02:56:18 +0000 (19:56 -0700)]
auto
Kent Overstreet [Sun, 30 May 2010 01:41:42 +0000 (18:41 -0700)]
auto
Kent Overstreet [Sun, 30 May 2010 00:52:44 +0000 (17:52 -0700)]
auto
Kent Overstreet [Fri, 28 May 2010 03:42:25 +0000 (20:42 -0700)]
auto
Kent Overstreet [Mon, 24 May 2010 01:24:43 +0000 (17:24 -0800)]
fixed random walk
Kent Overstreet [Sun, 23 May 2010 21:08:27 +0000 (13:08 -0800)]
stats
Kent Overstreet [Sun, 23 May 2010 18:14:49 +0000 (10:14 -0800)]
Writing/checksumming
Kent Overstreet [Sat, 22 May 2010 20:43:34 +0000 (12:43 -0800)]
Write testing, fixed checksumming
Kent Overstreet [Sat, 15 May 2010 15:26:35 +0000 (07:26 -0800)]
Makefile
Kent Overstreet [Fri, 14 May 2010 16:54:26 +0000 (08:54 -0800)]
Checksum test
Kent Overstreet [Sat, 8 May 2010 18:31:53 +0000 (10:31 -0800)]
Should work on 32 bit
Kent Overstreet [Wed, 5 May 2010 01:58:22 +0000 (17:58 -0800)]
Initial commit