Vivek Dasmohapatra <vivek <at> collabora.co.uk> writes: > > On Thu, 3 Apr 2014, Francis Moreau wrote: > > > On 04/03/2014 12:02 PM, Vivek Dasmohapatra wrote: > >> On Sun, 30 Mar 2014, Francis Moreau wrote: > >> > >> Hi Francis: A quick question for you if you have the time: > >> How is the bcache constructed? ie which devices are in it? > >> > > > > sure: I'm using bcache on a very basic setup: no MD or LVM involved. > > /dev/sda4 (900Mo) is the backing device while /dev/sdb (120G) is the > > cache device. On top of bcache0 I'm using ext4 and I'm using it as my > > root device. > > Ok, interesting. I've had some luck tweaking the offset of the backing > device partition: Some offsets trigger the bug consistently and others > never seem to, so it seems to be some sort of weird alignment bug. > > I'd started a new thread before I realized how to reply to this. The problem appears to be that bcache_writeback is trying to do something it shouldn't when in writethrough mode (bcache_writeback is on by default even for writethrough). echo 0 > /sys/block/bcache0/bcache/writeback_running ...appears to fix it. -- To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html