Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp1272531rwp; Thu, 13 Jul 2023 08:31:36 -0700 (PDT) X-Google-Smtp-Source: APBJJlGGkcb40hBG8ef30istIXaymwpKVZMzGoJxa4LGVhyAlv4We6WsC31VFDW4NAJT12BJADhp X-Received: by 2002:a05:6a00:2307:b0:668:81c5:2f8a with SMTP id h7-20020a056a00230700b0066881c52f8amr2570472pfh.17.1689262296070; Thu, 13 Jul 2023 08:31:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689262296; cv=none; d=google.com; s=arc-20160816; b=p0YmNflFOAagsaf96Q4L0iLqC1E2D/S86tPFi8vGVaDfj7/DvUh2I8X10i/m3xZZRs Utc/ldmlLLn/nd7nUWNFB2sKTDJL2C+FRsrbXl5bkXjyfJUBKOomWW+/tQj9e8RnNZNt +ti8U10ywWznZECOQdlmafCywHhDR0aZhkQ2lirPZKnn4XZpdwBCmEzSTeF/EWRA2DnC sYivUuZzFLV+rG+N6IgFJwcjSKZr8cwlCNQ0pcMOmzbasD3fWbkMeEr82Yo7UEHIgp1F xELda6tmJlN6GWXJqFBPZ6jdSM3Hw1+sfl9kPv3RviDEfX/C2d+mBF9YKUtUi+qd4hOP wmtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=wCLBmF2e2dRCNx7+d13fHc8+rkei0zsayK8x+eKdnGc=; fh=Qz4fqsWVIUl5VzzEh2gCchYyayPaJghYiw2tyIG1f0M=; b=yIvBbbe+kdl5p0k9NU4LcqG/V6ezRK6584LMfSQPzdOaM9KuYTJIPQZODrMLRFmGqp ElbF7uA9EzdJCATnO7WqLesa0F/kOaZvrOP6ePXeLthpTKaYqtQ2JmdM3x6MbOqq5CID c4DJ8iKXoCFn5DiM3dJ/E+GCSPVbJyU3bmg5whniZ+ghevUEbfe+DHJ1a4yDUlqHgbEv 4t9/0tGOCceWxCZt98zpfQlz2o1DCO3P7hnaJ5L07h9Afn3mdCjNAFMDpf7Q8KPttc3u 7CZSGLCjm4RsavBQYFZ72iuKtAjq6dEggAQyM1FKSX8qT+4MS+YEG/tGBzt91gwhojb8 BUYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=qomcWisI; dkim=neutral (no key) header.i=@suse.cz header.b="2D2YEL/B"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v17-20020a056a00149100b006825e062715si5420488pfu.228.2023.07.13.08.31.24; Thu, 13 Jul 2023 08:31:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=qomcWisI; dkim=neutral (no key) header.i=@suse.cz header.b="2D2YEL/B"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233039AbjGMPLR (ORCPT + 99 others); Thu, 13 Jul 2023 11:11:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232955AbjGMPLO (ORCPT ); Thu, 13 Jul 2023 11:11:14 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69825C1; Thu, 13 Jul 2023 08:11:12 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 2276322158; Thu, 13 Jul 2023 15:11:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1689261071; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=wCLBmF2e2dRCNx7+d13fHc8+rkei0zsayK8x+eKdnGc=; b=qomcWisImhIgTGE3b4ZUEPF9NcyOW0hyDzZnyCPVzVgRuINKpG8MQbpCS13E9V1HBOrMO/ iAyUdkn6A+IJpPb5QvbPi4sRRNNjhjdXjokIMH8S4MUYkByXeu7CRlgjWvkVWDawXd8vHp 8AT5b9KhPS/AKO4mxgcaNhfFavUADcU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1689261071; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=wCLBmF2e2dRCNx7+d13fHc8+rkei0zsayK8x+eKdnGc=; b=2D2YEL/BjKdkgcqnhmm74ZlNQAyBcVXYYRhOK4PSceT9B8FBt6yWbDy3bm5gYdZm5fpfJG MnQHKcIOISrEZ3Dw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 0AC70133D6; Thu, 13 Jul 2023 15:11:11 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id FtJUAg8UsGQOBwAAMHmgww (envelope-from ); Thu, 13 Jul 2023 15:11:11 +0000 Date: Thu, 13 Jul 2023 17:12:15 +0200 From: Cyril Hrubis To: kernel test robot Cc: Christoph Hellwig , "Darrick J. Wong" , Andreas Gruenbacher , Miklos Szeredi , Matthew Wilcox , cluster-devel@redhat.com, Ilya Dryomov , Miklos Szeredi , Chao Yu , linux-fsdevel@vger.kernel.org, Al Viro , Jaegeuk Kim , Xiubo Li , Trond Myklebust , ltp@lists.linux.it, lkp@intel.com, Jens Axboe , Christian Brauner , Theodore Ts'o , Johannes Thumshirn , linux-kernel@vger.kernel.org, linux-xfs@vger.kernel.org, Anna Schumaker , oe-lkp@lists.linux.dev, Andrew Morton , Hannes Reinecke Subject: Re: [LTP] [linus:master] [iomap] 219580eea1: ltp.writev07.fail Message-ID: References: <202307132107.2ce4ea2f-oliver.sang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202307132107.2ce4ea2f-oliver.sang@intel.com> X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! The test description: Verify writev() behaviour with partially valid iovec list. Kernel <4.8 used to shorten write up to first bad invalid iovec. Starting with 4.8, a writev with short data (under page size) is likely to get shorten to 0 bytes and return EFAULT. This test doesn't make assumptions how much will write get shortened. It only tests that file content/offset after syscall corresponds to return value of writev(). See: [RFC] writev() semantics with invalid iovec in the middle https://marc.info/?l=linux-kernel&m=147388891614289&w=2 -- Cyril Hrubis chrubis@suse.cz