All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <aliguori@us.ibm.com>
To: Julian Chesterfield <jac90@cl.cam.ac.uk>
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH] Blktap: Userspace file-based image support. (RFC)
Date: Mon, 19 Jun 2006 16:56:00 -0500	[thread overview]
Message-ID: <44971D70.8070107@us.ibm.com> (raw)
In-Reply-To: <c22f889f9333ac3d7169fd235605f496@cl.cam.ac.uk>

Julian Chesterfield wrote:
>>
>> On 19/6/06 8:15 pm, "Anthony Liguori" <aliguori@us.ibm.com> wrote:
>>
>>> Couple general comments on the code:
>>>
>>> Please don't introduce more (ab)uses of /proc.  Sure it's just for
>>> debugging but there's no reason to not make that sysfs.
>>>
>>> I'm not an expert here, but the nopage handlers that I've seen return
>>> NOPAGE_SIGBUS instead of manually causing a SIGBUS on current.
>>>
>>> I think it's better to use C99 initialization than GCC:
>>>
>>>   owner:  ...,  =>  .owner = ...,
>>>
>>> Some of the indenting is a bit off from Linux CodingStyle.  Stuff like
>>> if( => if ( and some random spaces after an (.
>>>
>>> There's some code commented out with C++ comments too.
>>>
>>> What's the significance of /**BLKTAP**/ and /**TAPEND**/?
>>>
>>> I'm a little surprised to see these conversion tools too.  Wouldn't it
>>> be easier to just add some parameters to qemu-img?
>
> Thanks for the comments anthony. When we initially played with qcow 
> images it was easier to knock-up our own frontend to the plugins for 
> converting between the different image types and testing features like 
> image sparseness.  We added an optimisation feature in the xen qcow 
> plugin which would allocate full extents for non backing file based 
> images as well as the asynchronous callback architecture to enable 
> request batching for AIO.
>
> We could certainly adapt qemu-img to use these and other features. Not 
> sure what the best approach for keeping the toolsets in synch between 
> the 2 projects would be though.

It may be worth just bringing up the changes on qemu-devel.  I know why 
you'd want to change the cluster size (it's a pain to work with clusters 
< block size).  I saw another comment about making metadata more 
coarse.  Can you clarify the reasons for that?

I can't imagine there would be that push back in changing the default 
cluster size in qemu-img from 512 to 4096..  Most OS's are going to 
write in that granularity anyway I imagine :-)

Regards,

Anthony Liguori

>
> Thanks,
> Julian Chesterfield

  reply	other threads:[~2006-06-19 21:56 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <C0BCD26E.5C31%julian@xensource.com>
2006-06-19 21:42 ` [PATCH] Blktap: Userspace file-based image support. (RFC) Julian Chesterfield
2006-06-19 21:56   ` Anthony Liguori [this message]
     [not found] <C0BDB8FE.5C5D%julian@xensource.com>
2006-06-20 13:57 ` Julian Chesterfield
     [not found] <C0BD844E.5C4D%julian@xensource.com>
2006-06-20 13:44 ` Julian Chesterfield
2006-06-20 11:07 [PATCH] Blktap: Userspace file-based image support.(RFC) Ian Pratt
2006-06-20 21:10 ` Dan Smith
2006-06-21 14:45   ` Anthony Liguori
2006-06-30 13:41   ` Stephen C. Tweedie
2006-06-30 14:17     ` Dan Smith
2006-06-30 19:37       ` Stephen C. Tweedie
2006-06-30 20:06         ` Dan Smith
2006-06-30 22:15           ` Jerone Young
2006-07-01  0:36             ` Mark Williamson
2006-07-01 14:22               ` Dan Smith
2006-07-03 11:00                 ` Mark Williamson
2006-07-03 14:52             ` Stephen C. Tweedie
2006-07-03 12:02         ` Harry Butterworth
2006-07-03 14:56           ` Stephen C. Tweedie
2006-07-03 15:40             ` Harry Butterworth
2006-07-04 19:39               ` Andrew Warfield
2006-07-05  0:25                 ` Dan Smith
2006-07-05  0:48                   ` Andrew Warfield
2006-07-05  1:40                 ` Harry Butterworth
  -- strict thread matches above, loose matches on Subject: below --
2006-06-19 16:19 [PATCH] Blktap: Userspace file-based image support. (RFC) Andrew Warfield
2006-06-19 16:51 ` NAHieu
2006-06-19 17:22   ` Andrew Warfield
2006-06-19 18:41     ` NAHieu
2006-06-19 21:07       ` Andrew Warfield
2006-06-19 21:16     ` Dan Smith
2006-06-19 18:55 ` Anthony Liguori
2006-06-19 19:22   ` Andrew Warfield
2006-06-19 19:26   ` Andrew Warfield
2006-06-19 19:51     ` Anthony Liguori
2006-06-19 19:15 ` Anthony Liguori
2006-06-19 19:31   ` Andrew Warfield
2006-06-29  3:35 ` Rusty Russell
2006-06-29  5:24   ` Andrew Warfield
2006-06-29  6:31     ` Rusty Russell
2006-06-29 14:34       ` Andrew Warfield
2006-06-30 13:35         ` Stephen C. Tweedie
2006-06-30 14:17           ` Julian Chesterfield
2006-06-30 18:41             ` Jeff Moyer
2006-06-29 11:49   ` Anthony Liguori
2006-06-29 12:26     ` Laurent Vivier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44971D70.8070107@us.ibm.com \
    --to=aliguori@us.ibm.com \
    --cc=jac90@cl.cam.ac.uk \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.