All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: Olaf Hering <olaf@aepfle.de>
Cc: Ian Campbell <Ian.Campbell@citrix.com>, xen-devel@lists.xen.org
Subject: Re: qdisk vs. file as vbd type
Date: Fri, 10 Jan 2014 10:29:48 -0500	[thread overview]
Message-ID: <20140110152948.GA20640@phenom.dumpdata.com> (raw)
In-Reply-To: <20140110151956.GA22646@aepfle.de>

On Fri, Jan 10, 2014 at 04:19:56PM +0100, Olaf Hering wrote:
> [ removing Li who is no longer with Novell ]
> 
> On Fri, Jan 10, Konrad Rzeszutek Wilk wrote:
> 
> > You are looking at:
> > ed30bf317       (Li Dongyang    2011-09-01 18:39:09 +0800       1664)   } else if (strncmp(type, "file", 4) == 0)
> > ed30bf317       (Li Dongyang    2011-09-01 18:39:09 +0800       1665)           info->feature_discard = 1;
> > ed30bf317       (Li Dongyang    2011-09-01 18:39:09 +0800       1666)
> > ed30bf317       (Li Dongyang    2011-09-01 18:39:09 +0800       1667)   kfree(type);
> > ed30bf317       (Li Dongyang    2011-09-01 18:39:09 +0800       1668)}
> > ed30bf317       (Li Dongyang    2011-09-01 18:39:09 +0800       1669)
> > 
> > My recollection is that at the time the patches were developed, loop
> > was not able to do discard operations. That has since changed and
> > loop can do it. Hence the force of =1 was added in.
> 
> If the backend cant do discard then it should not advertise the feature.

<nods>
> 
> Are you ok with me sending a patch which simplifies this function?

Yes of course!
> 
> Olaf

  reply	other threads:[~2014-01-10 15:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-10 14:40 qdisk vs. file as vbd type Olaf Hering
2014-01-10 14:47 ` Ian Campbell
2014-01-10 15:00   ` Olaf Hering
2014-01-10 15:15     ` Konrad Rzeszutek Wilk
2014-01-10 15:19       ` Olaf Hering
2014-01-10 15:29         ` Konrad Rzeszutek Wilk [this message]
2014-01-10 15:20       ` Ian Campbell
2014-01-10 15:32         ` Konrad Rzeszutek Wilk
2014-01-10 15:09   ` Roger Pau Monné

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=20140110152948.GA20640@phenom.dumpdata.com \
    --to=konrad.wilk@oracle.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=olaf@aepfle.de \
    --cc=xen-devel@lists.xen.org \
    /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.