Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp221063rwr; Wed, 19 Apr 2023 05:52:10 -0700 (PDT) X-Google-Smtp-Source: AKy350bB7/KVWFyD5yx9tUav3qQIYp6hAYWMtMe5isXCNRRbjqIRVY8RjWVS1/GbwP2n6fKJXx/A X-Received: by 2002:a05:6a00:1343:b0:63d:6228:6893 with SMTP id k3-20020a056a00134300b0063d62286893mr2146199pfu.3.1681908729697; Wed, 19 Apr 2023 05:52:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681908729; cv=none; d=google.com; s=arc-20160816; b=anLgAcDz4zyCRUrBox1TXDT6Zg8/4BCbvm03A5Vf+zKH0M84aT5HWVP0+uHXF0rJgv hplkJIhZX1w2FdKsTary6XlD7kt2xob08d67RIon+l+jSEWqBsVUSfAFaf/bH8p4H3f/ Tt+HDH0IhT7Yp/4FxSXJmXS5Pf9ixCtBnPBVaRF1zpE4kM9djlK1mQQE1+F3YR+d5E+M l3LqoplvUYZIk+KG9MVtNXVl5nwXnTBiK8+jJ1XsTqS7vHn2NKmKAfQGuXHl9h4h5bht atpOuDqtoIDEZ36581cwv8zmhtSNnc6T4/iGhNy0ED0m2g5+1Rl2ODRBKxum8jZO5P1R qctA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=UWkATxwUI54Wjf29X1y6InilmbSwGYCaupz7wL2xoYA=; b=AJXXj9ojhogUdIYbcpoEyWBGtzmXQ/GUEkKsS4y426xaUp6TFlrcD7uYdpzD7HcHbg yBFNrnWxYr1Kw5+9CSZrltsAQ9LPRRR5Da2I6oIxtu2ivTJ6ZP85dKVIYDHjoUMvLPUU Pg0mpLWijpgpAVtocgEJGX78i9b8DWyyRLwH0FqO1QkqejTudgdO8+/TXP1CPzWhPIUz HfhWoN1yubGPUtt4UN/mCoEd4XP4ymaHsWOL+G0dT46+2SROogneNjCm2pbI6jYwOKY0 hXcVzONBis8bmVmTS/cyuIbo8Xs96WZvpmWf+mLsR86w/3Aw+Eh6bPaxN3mbJNXbvxQL k1HQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20221208.gappssmtp.com header.s=20221208 header.b="V/Zcy6Qn"; 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 x24-20020aa79578000000b0063b8b7dd46asi8078644pfq.34.2023.04.19.05.51.55; Wed, 19 Apr 2023 05:52:09 -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=@kernel-dk.20221208.gappssmtp.com header.s=20221208 header.b="V/Zcy6Qn"; 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 S233030AbjDSMpn (ORCPT + 99 others); Wed, 19 Apr 2023 08:45:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232019AbjDSMpm (ORCPT ); Wed, 19 Apr 2023 08:45:42 -0400 Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DB5A3C15 for ; Wed, 19 Apr 2023 05:45:41 -0700 (PDT) Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-63b78525ac5so1315886b3a.0 for ; Wed, 19 Apr 2023 05:45:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20221208.gappssmtp.com; s=20221208; t=1681908340; x=1684500340; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=UWkATxwUI54Wjf29X1y6InilmbSwGYCaupz7wL2xoYA=; b=V/Zcy6Qn3ntP2MHoNED004N6bQmV9wF3ftWYZh6tBptsdhl634WOoMOrhxWZa09I0E BhbUDuv3/vLqZQ3/fuC0QJi4YYd6uwouwggm+7jdkzU9qjrzbrWNa2UORInkpFcnVCHg xIqXThcvzQMSqo6MOmPMDbyGP2XRWEalPvVi47srhbKaPo3iKAIPhFnkLhPeO9q8LvFb CdDM9FLOXiV0XIhZiQOKkbwjfp3Ycbb6kxNdOikLX/rI2yPmTfRO0OBIbLaFAI1ybmvr x1JzceTadJIKEShma9KMfX8wo/OeN/RW3l74s5Wl3nxYqBfCwilA6DnJG9f4VeyL0Vzo Mx0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681908340; x=1684500340; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UWkATxwUI54Wjf29X1y6InilmbSwGYCaupz7wL2xoYA=; b=lAiydtpTxI2/5YLhukleuLQU5E3qPC7Bqt7e1xFnPuPKtHqYi5udo8+e2x4W6fZDmn jBmxNs8JO8dLbxDHzpfaHVn1VgK+rGa0AOjB5+GEXqHYmo8+85ZUj13ukDRnNloM1VRM CPjdnajU5ZIbEra/lZfy5mVT2a37SDTHXvTuRVi3TWebRFrMj5zJYaByP7Qm5T9YLvfr cdqBwZ27H4RkzAa/d4Q3TL4ijNmlqa5bemPvPX/7tC0rQKPBEbFddVmwjXE6KvgosSbq 1Fk7yu/nj9yzBj2l+r8JEtBJSSAlAL7Y7cJ+ugiBuUw//xXHwY6+9Sh+MLPNhfAmMFn1 k+dw== X-Gm-Message-State: AAQBX9dZmAzo8ml0wEZgWZWMncQfjOBh6FBcjcPeh0DyioU/mBNs33yV g71/lmzcxN8ccblAr41iIKD+/Q== X-Received: by 2002:a05:6a20:3c92:b0:f1:1ab5:5076 with SMTP id b18-20020a056a203c9200b000f11ab55076mr3391077pzj.2.1681908340445; Wed, 19 Apr 2023 05:45:40 -0700 (PDT) Received: from [127.0.0.1] ([198.8.77.157]) by smtp.gmail.com with ESMTPSA id e17-20020aa78c51000000b0063b79bae907sm7731602pfd.122.2023.04.19.05.45.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Apr 2023 05:45:40 -0700 (PDT) From: Jens Axboe To: David Howells Cc: Ayush Jain , Christoph Hellwig , Al Viro , David Hildenbrand , John Hubbard , Steve French , linux-mm@kvack.org, linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <1770755.1681894451@warthog.procyon.org.uk> References: <1770755.1681894451@warthog.procyon.org.uk> Subject: Re: [PATCH] splice: Fix filemap of a blockdev Message-Id: <168190833944.417103.14222689199936898089.b4-ty@kernel.dk> Date: Wed, 19 Apr 2023 06:45:39 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-00303 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, 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 On Wed, 19 Apr 2023 09:54:11 +0100, David Howells wrote: > Fix the new filemap_splice_read() function to get i_size from > in->f_mapping->host, not in->f_inode so that it works with block devices > too (in->f_inode points to the device file, which is typically zero size). > > Applied, thanks! [1/1] splice: Fix filemap of a blockdev commit: 5a9515a407d1aec1dd76c24fe99d9981730b74fb Best regards, -- Jens Axboe