[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Simplified protocol?

On Wed, Nov 28, 2018 at 10:00:52PM +0100, Wouter Verhelst wrote:
> On Tue, Nov 27, 2018 at 08:00:57AM +0000, Richard W.M. Jones wrote:
> [...]
> > The kernel doesn't even find the partition in the GPT case, and nor
> > does ‘gdisk -l /dev/nbd0’.
> > 
> > In both cases, this is fixed by using the ‘nbd-client -b 512’ option.
> > 
> > It's also reproducible by using OS images, so it's nothing to do with
> > bugs in nbdkit's partitioning plugin.
> So, investigating this a bit further (I am 100% certain this used to
> work, I used it at some point in the past with nbd-server and an image
> of something), I found this:
> commit e544541b0765c341174613b416d4b074fa7571c2

wouter@gangtai:/usr/src/linux/$ git describe e544541b0765c341174613b416d4b074fa7571c2

> I suspect that before this commit, the kernel completely ignored the
> passed block size and just used 512 or something equally sane.


Suggests that it did work in 4.9, but not in something more recent.

I think that confirms it.

To the thief who stole my anti-depressants: I hope you're happy

  -- seen somewhere on the Internet on a photo of a billboard

Reply to: