[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130125234714.GR3081@htj.dyndns.org>
Date: Fri, 25 Jan 2013 15:47:14 -0800
From: Tejun Heo <tj@...nel.org>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: linux-kernel@...r.kernel.org, pmatouse@...hat.com,
"James E.J. Bottomley" <JBottomley@...allels.com>,
linux-scsi@...nel.org, Jens Axboe <axboe@...nel.dk>
Subject: Re: [PATCH 06/13] sg_io: whitelist a few more commands for
multimedia devices
Hello, Paolo.
On Sat, Jan 26, 2013 at 12:32:36AM +0100, Paolo Bonzini wrote:
> If I make a whitelist with all the commands that Linux sends, I'll have
> many new commands in the whitelist and no old commands. The new
> commands didn't exist when old drives were sold, so they are "dangerous"
> in your opinion. At that point I might as well keep the whitelist
> empty, no?
Let's not go to extremes. It's not about theoretic correctness. It's
about how to appraoch a possibly messy practical problem. To me, it
seems natural to be conservative on this and add what's being acitvely
used, which as a bonus will also give us at least some chance of
evaluating what we have and why later on if it ever needs to be
changed.
I'm just not comfortable with adding a bunch of commands by simply
scanning the specs. Let's at least have some backing data and
justification for exposing new ones. I really don't think that's too
much to ask. Start with minimal set. Grow it as needed. We can
always grow but the other direction is much harder.
Thanks.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists