[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <71982410-d373-a659-0c0f-8aadf06d1d96@grimberg.me>
Date: Mon, 25 Feb 2019 13:18:10 -0800
From: Sagi Grimberg <sagi@...mberg.me>
To: Johannes Thumshirn <jthumshirn@...e.de>,
Chaitanya Kulkarni <Chaitanya.Kulkarni@....com>,
Christoph Hellwig <hch@....de>
Cc: Linux Kernel Mailinglist <linux-kernel@...r.kernel.org>,
Linux NVMe Mailinglist <linux-nvme@...ts.infradead.org>
Subject: Re: [PATCH] nvmet: disable direct I/O when unavailable
> Frankly, we have a ton of testing related special cases in the kernel.
>
> This one is a) simple and small, only 10 LoC, b) far away from the fast
> path or any other place where it could have any impact on legitimate
> users and c) it prints an informal message showing you what happened.
>
> Sorry but this is a https://xkcd.com/386/ moment.
How about we just fail it with a proper error message and let the
user set buffered_io instead of trying to get smart here...
Powered by blists - more mailing lists