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.
> I have had similar lockup problems when using partitions
> as backing, but not whole devices. That is to say:
>
> { ram0 : sdb1 } often deadlocks for me (depending on the offset
> of the partition)
>
> { ram0 : sdb } always seems to work fine
>
> Although in neither case am I able to tear down the device and
> flush it all to backing after heavy use: That always locks up
> for me. (Fortunately I'm making throwaway filesystems for a build
> daemon so that part I can live with).
>
For now it doesn't endup to lock up (cross fingers). It only fills the
kernel logs, well I hope.
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html