On Mon, Oct 10, 2011 at 03:05:10PM +0200, Paolo Bonzini wrote:
> > That is too tricky: a new kernel version might show differnt
> > behaviour. Imho we should specify a limit or make it configurable or
> > put it in the protocol. We have 124 bytes of handshake left, we can
> > use 8 of them for a maximum blocksize.
> 
> O_DIRECT bypasses everything clever that the kernel might do.

More to the point, O_DIRECT is _defined_ as "don't try to be clever
about this request, just do it". If a new kernel version were to show
different behaviour, that would be a bug in the kernel.

-- 
The volume of a pizza of thickness a and radius z can be described by
the following formula:

pi zz a

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Nbd-general mailing list
Nbd-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nbd-general

Reply via email to