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,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,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 865F4C4361B for ; Tue, 15 Dec 2020 23:46:13 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C45CA22C7D for ; Tue, 15 Dec 2020 23:46:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C45CA22C7D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ucw.cz Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Type:Cc: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=eUVLrONH9h7JwBPFrjNHwFG8kGgFDy1MAaZUH8584AA=; b=Np6aodVCLijuWlIZsJ3quOgpz b+CJE6kMO95mEqguaY34sIsV0BAWAkohvnqWQGURek1Xo2cYVqWFZN7b4CPxhAzaCcrP6dX54nJtH JnlpUoBXY61JlG6pfuYJhHwFm7pBGOkkx98rIw+wLW6GiP3zhPr97uSt8a+hztpuAgd+ZuzGNN6bS P98OiWv1YOeuJfqPa3uYtQ/IwPosEci0XVyMU0ZeOj87zPV5OAjin5mnmuaM403ZocKVT2yOzzAdG kolUoV1zRZZpMYnNQr9YsNBjlEv77QHEfw03Z4nsZu1McG6gQBhha8hyW+cdf+GDeSZU8KoYwTFKB 7ixbB/anQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kpK19-0001bi-W8; Tue, 15 Dec 2020 23:46:08 +0000 Received: from jabberwock.ucw.cz ([46.255.230.98]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kpK15-0001b5-7q for linux-nvme@lists.infradead.org; Tue, 15 Dec 2020 23:46:05 +0000 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 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 In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201215_184603_406920_A2864B6B X-CRM114-Status: GOOD ( 13.75 ) X-BeenThere: linux-nvme@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "axboe@kernel.dk" , Javier =?iso-8859-1?Q?Gonz=E1lez?= , SelvaKumar S , "sagi@grimberg.me" , "snitzer@redhat.com" , "selvajove@gmail.com" , Damien Le Moal , "linux-nvme@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-block@vger.kernel.org" , "dm-devel@redhat.com" , "Martin K. Petersen" , Mikulas Patocka , Hannes Reinecke , "joshi.k@samsung.com" , "nj.shetty@samsung.com" , "kbusch@kernel.org" , "linux-scsi@vger.kernel.org" , Christoph Hellwig , Bart Van Assche Content-Type: multipart/mixed; boundary="===============8419182782608153183==" Sender: "Linux-nvme" Errors-To: linux-nvme-bounces+linux-nvme=archiver.kernel.org@lists.infradead.org --===============8419182782608153183== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="d6Gm4EdcadzBjdND" Content-Disposition: inline --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-- --===============8419182782608153183== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Linux-nvme mailing list Linux-nvme@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-nvme --===============8419182782608153183==--