Re: [Nbd] bcache on NBD block devices
- To: nbd-general@lists.sourceforge.net
- Subject: Re: [Nbd] bcache on NBD block devices
- From: Goswin von Brederlow <goswin-v-b@...186...>
- Date: Thu, 13 Mar 2014 12:12:06 +0100
- Message-id: <20140313111206.GD13151@...1266...>
- In-reply-to: <1393490910.27958.6.camel@...1346...>
- References: <egtxw9pej0indsiexwg8l1ri.1393424201742@...1518...> <1393490910.27958.6.camel@...1346...>
On Thu, Feb 27, 2014 at 09:48:30AM +0100, Juan Antonio Martinez wrote:
> El mié, 26-02-2014 a las 09:16 -0500, Matthew Patton escribió:
> > Shouldn't the clients be using the bcache device for their io? So who
> > cares what mode the nbd device is in just as long as it's writable?
> > Then just make the bcache device read only.
>
> Sure: the clients mounts the inner squashfs readonly, but in order to
> bcache get working, the nbd-server must export read-write, or at least
> with copy-on-write flag, to let the bcache layer on clients work
> throught nbd device
>
> Anyway: problem solved. Performance is not noticeabilly increased, due
> to obsolete hardware in clients, but network load improvement is really
> good
>
> Juan Antonio
bcache should have a read-only option for this. What if I want to use
bcache to speed up a DVD drive?
MfG
Goswin
Reply to: