Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1194722ybl; Fri, 16 Aug 2019 10:25:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqy2dWpS+8be8HaDZAVi/uFRemhMtUGmDyAK+WonJe0sxBrgFX9blCUjlDClA9sk7WgLefhM X-Received: by 2002:a17:902:20ec:: with SMTP id v41mr10163215plg.117.1565976352892; Fri, 16 Aug 2019 10:25:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565976352; cv=none; d=google.com; s=arc-20160816; b=z+WrBJy8Rd30w9TcqG0OxF7ycElmFDZ5UKiq+Dcagy4LBzrbY61PwGleZqvMXJ12km y9TtvEJJcLFyQwxT5tjAAZc/IvWwhuk+qGDMxK1Vz9TCaxnyaZ2CIsunYe4elFTLyWl3 w/fytDt2JxawmK2OdZ26wdUFFQUaBTKc6toxHz2doEa2HD9GH4vI1MMmewKlTVcg13jz ZZfbrW4ui8ogxofTn9Jp52X64jvw3DOlCM8+IOnOrGMZ6PEWX+Qy7k7CxAxAG3HlXtPY cJJAUoGuU95Vazj+JbGpUuvq8j29cz0IT2tc9zHL00cjDanTy+zAtNd+oQQb2fp5n6D1 Fj7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:date:cc:to:from:subject:message-id; bh=467BgJBbv46Pv3SAiuKylNMdKElG8pSKX3sCIFrGXno=; b=q8fuj75xhSRUC5ACqva6W4xy5EpwRcDwp72RZhyZV8tVgL5B8uDHxdtVEju1UAJG+v kGqTByKzE4H8liTmAE7hhOyMR51Ojw7GPmkgNL7efT6EH+kPfZv9cSHD0ZnNCBjQfCst NuRtWgfeXfVAvifIKohB+6dPntFvnLkUXR6XVGlo5yqAIafB+9516VTUSxcAi6ZP9GC0 1/kucsT1869xdoYDKT0I4tB9OX2DjsmJAt5o8GPHxPjHrJ0aMlfB0A8VTQfgo00+7Ab1 GbcYXYcC3PaC4o1YhSNnVBLLCV2pUPHIOLtTHCnY9TCUnie3mXPgDWblV20XDDuwSG11 vS5g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t15si4387936ply.162.2019.08.16.10.25.36; Fri, 16 Aug 2019 10:25:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727493AbfHPRZA (ORCPT + 99 others); Fri, 16 Aug 2019 13:25:00 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:13304 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726690AbfHPRZA (ORCPT ); Fri, 16 Aug 2019 13:25:00 -0400 Received: from pps.filterd (m0098421.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x7GHMZ6Y029674; Fri, 16 Aug 2019 13:24:58 -0400 Received: from ppma03dal.us.ibm.com (b.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.11]) by mx0a-001b2d01.pphosted.com with ESMTP id 2udyxct0yv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 16 Aug 2019 13:24:58 -0400 Received: from pps.filterd (ppma03dal.us.ibm.com [127.0.0.1]) by ppma03dal.us.ibm.com (8.16.0.27/8.16.0.27) with SMTP id x7GHK63D022862; Fri, 16 Aug 2019 17:24:57 GMT Received: from b03cxnp08027.gho.boulder.ibm.com (b03cxnp08027.gho.boulder.ibm.com [9.17.130.19]) by ppma03dal.us.ibm.com with ESMTP id 2u9nj7mme7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 16 Aug 2019 17:24:57 +0000 Received: from b03ledav005.gho.boulder.ibm.com (b03ledav005.gho.boulder.ibm.com [9.17.130.236]) by b03cxnp08027.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x7GHOt9f57278732 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 16 Aug 2019 17:24:55 GMT Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id BB56CBE04F; Fri, 16 Aug 2019 17:24:55 +0000 (GMT) Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 996B8BE053; Fri, 16 Aug 2019 17:24:54 +0000 (GMT) Received: from LeoBras (unknown [9.85.220.147]) by b03ledav005.gho.boulder.ibm.com (Postfix) with ESMTP; Fri, 16 Aug 2019 17:24:54 +0000 (GMT) Message-ID: <631f282f177871a0961d25f3afc98b4b805436e7.camel@linux.ibm.com> Subject: Re: [PATCH 1/1] fs/splice.c: Fix old documentation about moving pages From: Leonardo Bras To: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Alexander Viro Date: Fri, 16 Aug 2019 14:24:52 -0300 In-Reply-To: <52a42a7ab5052c7d35c98bca6439ff00e323a947.camel@linux.ibm.com> References: <20190801223852.16042-1-leonardo@linux.ibm.com> <52a42a7ab5052c7d35c98bca6439ff00e323a947.camel@linux.ibm.com> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-6eSmA4V1izZy5SvSP69H" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-08-16_07:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908160179 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-6eSmA4V1izZy5SvSP69H Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 2019-08-08 at 15:19 -0300, Leonardo Bras wrote: > On Thu, 2019-08-01 at 19:38 -0300, Leonardo Bras wrote: > > Since commit 485ddb4b9741 ("1/2 splice: dont steal")' (2007), > > the SPLICE_F_MOVE support was removed (became a no-op according > > to man pages), and thus disabling steal operation that would make > > moving pages possible. > >=20 > > This fixes the comment, making clear pages are not moved. > >=20 > > Signed-off-by: Leonardo Bras > > --- > > fs/splice.c | 3 +-- > > 1 file changed, 1 insertion(+), 2 deletions(-) > >=20 > > diff --git a/fs/splice.c b/fs/splice.c > > index 14cb602d9a2f..0ba151c40cef 100644 > > --- a/fs/splice.c > > +++ b/fs/splice.c > > @@ -671,8 +671,7 @@ ssize_t splice_from_pipe(struct pipe_inode_info *pi= pe, struct file *out, > > * @flags: splice modifier flags > > * > > * Description: > > - * Will either move or copy pages (determined by @flags options) fr= om > > - * the given pipe inode to the given file. > > + * Will copy pages from the given pipe inode to the given file. > > * This one is ->write_iter-based. > > * > > */ >=20 > Could you give any feedback on this patch? Please provide feedback on this patch --=-6eSmA4V1izZy5SvSP69H Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEMdeUgIzgjf6YmUyOlQYWtz9SttQFAl1W5uQACgkQlQYWtz9S ttRY+Q//ThglhmvaCla8EYm+QsG82zy+ruaCSQt7j76ztvcCa+clDdPehf0TWNbU dtNgNpMra58EGW1Rw2oNAJ20PV9daBdebF+8gi1wzgVpJSTbVKp30RonDJ+Oe0zf PWyPLykM2fq/MyyEYEoPigona6klnfoEOP35Mqyl/MB6DOv/Mn+obeJ5V/RFF5mc DBhDYSXrPqu57ibWnb/qaQ42xy2q8QJp56cw/4yeoy5yvPAvghG2mvWnscZoGJmm /zrmyuLslQjOhbXD19AB9oKZNfk0IBXnxcfsNKRnP+/B9c2M0xb6qZBvXhS//GV4 aTjObgbkN/Y1K9K9ntiXDb+MiLbH/GHx603x8HzMSLz3ThpmjopEnby+B4/1WUR6 GZPI0srXLpefmUFSQR2IseJjkLw9D1aU1expZJAd+adencqWlpaQ0DIYKbzPMyWP fLb2ZplKt3JNvDG1i8vetUQtyKDvVRG6VaYSP7deNKRLM6AeWW9TfsOxmsxQCU++ 736PEmC15TwALx4NtjlS8yBFImmmXYdEoSAeb3wnZARdxaL8Upya3JUUUK8rW6aR eKpw0NxQrn8S6ygOyijafF16BhVhzLUC482TgBJffGLVCBrkOcOqG+q2JQl3OjWz /NOd5fbXK4Vyo/JgzjoGnkjThy+zS9XyG1N6VJa0GwGrV+ZLseM= =LUdQ -----END PGP SIGNATURE----- --=-6eSmA4V1izZy5SvSP69H--