Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp63215pxu; Tue, 15 Dec 2020 16:12:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJw40iGYNh36A2RaUMpftL4jrMUr36dbhWKw2g+0wXc64rHwazC+WnEmConSS/bpR2sW3PX0 X-Received: by 2002:a17:906:7b8d:: with SMTP id s13mr28525490ejo.479.1608077560624; Tue, 15 Dec 2020 16:12:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608077560; cv=none; d=google.com; s=arc-20160816; b=tjR9X9wKOy1qgtZRCVw5i1ii13H8xSkP4Vb2koymz1axAkAJ/fqnPUDjhGGEaCSeYq U5U9GpuOnPhl6tmXzAih5EA0sJwH8ILZzlKqy511wYT7SwNqO13JofM4nqQ5lm5Dl0Ol g2aTBD26jxV6bj7UkDb3RIFyG1P+iB2n8taU+8QJXEBhZUqo/tkb+OfNJPSPb4hgwXcB vU3rs25peyHIzYGlHEUrwtNNiZ4mzwA/f/q4Oz9a5B1gIs2CMbvtaY6/fwfBSrB4ToWR vLBwcbTsDJRhi0660RNxv4Umh3Q4/C7R9Axia+bnmKiSDVecWRqF7z0sjCvMdKgi+w3l 9SYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=17i0bIayjqdiHY5JkdYB1kfzC4QXAXBAqBfV6+iLBcE=; b=wNk7IffjvqnGtngPEN1C2BkpU8WoO+JB0E+x8UW47qJ2nsV1IKW4UXRrw5lmxMvtdS VNbTt5yBVr1p4rwPHx/pmghOt+90j8WLLGPuSMzfQ0emAkrdkQDNvZb9TkX0+d6Z74Ao D/b7UIbOh9CC1CK7FioaMlkoKnf7jSqyQ3gh9kso0EQu4H58b+Q75qZnyKyP1JUqsRf5 AeQVsjqJ0zrHOPgaBzRlM9mGffqqILlRqWmxo4L86BD+EoV8W+axn2S55oAHEdzZ/I0X K8pc7bDurAYI5Ai+FcR6wb6PvT45/h6s7LT8xKe0cNFkiVVHikWvloO/OzXAFpHYsbok Dq+w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ck10si1640572edb.568.2020.12.15.16.12.13; Tue, 15 Dec 2020 16:12:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727637AbgLPABC (ORCPT + 99 others); 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--