From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 401E6C2BBD4 for ; Wed, 16 Dec 2020 00:07:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 216EB22D05 for ; Wed, 16 Dec 2020 00:07:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727661AbgLPABC (ORCPT ); Tue, 15 Dec 2020 19:01:02 -0500 Received: from jabberwock.ucw.cz ([46.255.230.98]:43140 "EHLO jabberwock.ucw.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725813AbgLOXqn (ORCPT ); Tue, 15 Dec 2020 18:46:43 -0500 Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 8EAD91C0B78; Wed, 16 Dec 2020 00:45:59 +0100 (CET) Date: Wed, 16 Dec 2020 00:45:59 +0100 From: Pavel Machek To: Johannes Thumshirn Cc: Javier =?iso-8859-1?Q?Gonz=E1lez?= , Hannes Reinecke , Christoph Hellwig , SelvaKumar S , "linux-nvme@lists.infradead.org" , "kbusch@kernel.org" , "axboe@kernel.dk" , Damien Le Moal , "sagi@grimberg.me" , "linux-block@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "dm-devel@redhat.com" , "snitzer@redhat.com" , "selvajove@gmail.com" , "nj.shetty@samsung.com" , "joshi.k@samsung.com" , "Martin K. Petersen" , Bart Van Assche , Mikulas Patocka , "linux-scsi@vger.kernel.org" Subject: Re: [RFC PATCH v2 0/2] add simple copy support Message-ID: <20201215234558.GA18281@amd> References: <20201204094659.12732-1-selvakuma.s1@samsung.com> <20201207141123.GC31159@lst.de> <01fe46ac-16a5-d4db-f23d-07a03d3935f3@suse.de> <20201207192453.vc6clbdhz73hzs7l@mpHalley> <20201208122248.utv7pqthmmn6uwv6@mpHalley> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d6Gm4EdcadzBjdND" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --d6Gm4EdcadzBjdND Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! > > Good idea. Are you thinking of a sysfs entry to select the backend? >=20 > 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. >=20 > 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 --=20 http://www.livejournal.com/~pavelmachek --d6Gm4EdcadzBjdND Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAl/ZSrYACgkQMOfwapXb+vK5rACeLJojhyDVgpGZfTaitdzO94sJ RKoAn0eHTH191kYNNiXqgRZfCOo1aVIE =wLdn -----END PGP SIGNATURE----- --d6Gm4EdcadzBjdND--