[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201215234558.GA18281@amd>
Date: Wed, 16 Dec 2020 00:45:59 +0100
From: Pavel Machek <pavel@....cz>
To: Johannes Thumshirn <Johannes.Thumshirn@....com>
Cc: Javier González <javier@...igon.com>,
Hannes Reinecke <hare@...e.de>, Christoph Hellwig <hch@....de>,
SelvaKumar S <selvakuma.s1@...sung.com>,
"linux-nvme@...ts.infradead.org" <linux-nvme@...ts.infradead.org>,
"kbusch@...nel.org" <kbusch@...nel.org>,
"axboe@...nel.dk" <axboe@...nel.dk>,
Damien Le Moal <Damien.LeMoal@....com>,
"sagi@...mberg.me" <sagi@...mberg.me>,
"linux-block@...r.kernel.org" <linux-block@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"dm-devel@...hat.com" <dm-devel@...hat.com>,
"snitzer@...hat.com" <snitzer@...hat.com>,
"selvajove@...il.com" <selvajove@...il.com>,
"nj.shetty@...sung.com" <nj.shetty@...sung.com>,
"joshi.k@...sung.com" <joshi.k@...sung.com>,
"Martin K. Petersen" <martin.petersen@...cle.com>,
Bart Van Assche <bvanassche@....org>,
Mikulas Patocka <mpatocka@...hat.com>,
"linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>
Subject: Re: [RFC PATCH v2 0/2] add simple copy support
Hi!
> > Good idea. Are you thinking of a sysfs entry to select the backend?
>
> Not sure on this one, initially I thought of a sysfs file, but then
> how would you do it. One "global" sysfs entry is probably a bad idea.
> Having one per block device to select native vs emulation maybe? And
> a good way to benchmark.
>
> The other idea would be a benchmark loop on boot like the raid library
> does.
Doing copy benchmarking would require writes on the media, right?
Kernel should not do such stuff without userspace requesting it...
Best regards,
Pavel
--
http://www.livejournal.com/~pavelmachek
Download attachment "signature.asc" of type "application/pgp-signature" (182 bytes)
Powered by blists - more mailing lists