[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191031135904.GA5180@lst.de>
Date: Thu, 31 Oct 2019 14:59:04 +0100
From: Christoph Hellwig <hch@....de>
To: Charles Machalow <csm10495@...il.com>
Cc: Christoph Hellwig <hch@....de>, linux-nvme@...ts.infradead.org,
marta.rybczynska@...ray.eu, Keith Busch <kbusch@...nel.org>,
Jens Axboe <axboe@...com>, Sagi Grimberg <sagi@...mberg.me>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] nvme: change nvme_passthru_cmd64's result field.
On Thu, Oct 31, 2019 at 06:55:33AM -0700, Charles Machalow wrote:
> Not quite sure what you mean by check for zero in the ioctl handler. I like
> the idea of being able to use the same struct for either the original or 64
> ioctls from userspace. I don't believe adding the explicit rsvd field
> allows that.
You might like the idea, but it fundamentally is a bad idea. For example
you completely break architectures that do not support unaligned loads
and stores.
Powered by blists - more mailing lists