Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp6010264iob; Tue, 10 May 2022 08:24:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJDog7I0DkNc/MhFi1OSuh2WCN9ZO+OzzUcBWtB12rXP7tVHp+f+mIN1yj0c2im2hgTaiE X-Received: by 2002:a05:6830:1350:b0:606:14f1:6665 with SMTP id r16-20020a056830135000b0060614f16665mr8169781otq.73.1652196272454; Tue, 10 May 2022 08:24:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1652196272; cv=pass; d=google.com; s=arc-20160816; b=TfJZWyaRbn9NwS4+Y8u8tQ3GfBiQxExNGhVATqZYS0CVjDjsj6jaga35GF+tw10YFR ZIUGNf2WoB25D2qzt3ZSqNzycILbHrFpZb6MqK82gOEWZnoKSb+uZG12KVpn5Ar5O1PQ Namjj7+KUO9mzKR4p354JhWMVINSOvuHMvVRPm5M8IY6EG9BaqFd6cfZWJ1mnzSGQulf kLKRBAsMWkURVrBQ4e6UGNpkva7AuYHCzaG/XgGcRmD7mRQNRxVCrnHaqK8dcVSYp9Tx ze9yDRnefzTag+G46U/jjsxq4yOMpdo1gao3mqLoDYzEffbWvsHgMSKKH9+trFd2hRO8 uxkg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=VnxDcbFV7WOZ0byOgiUFVmsEBVt8jzdShZ7LANDyJj4=; b=bhcEncrVrTfDzQGKN+DYmQotZFsSso+PbyFyoBSuYvhIt0Me/x8RhiGgvFDL4u3DWO 8v4FB1hd0FvGjJzfgJNxbZod7M7hS/b0dSvWSr0xliInM9baolMd11FbI+pME7NNAo7w n9eD9bU+U6DthV2YYrr/9hWxZ3BMdRcFpfmYwtYitswj15fUAJTH9V73LI1/4A77rRw3 5WQU9+VKoG6wHybYQr1Sz8KgV+svl8cSpUa8GZY7C7D1U52USFfscLt7Pb/7D2Eq0Tfl bO1o0MTRgfMmSxBv0qRT3Y62TFhn/B1u5sJn/09C+VFB4viTQIPzDtMVPD6jRFK4gpmY xlnQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.com header.s=mimecast20200619 header.b=g3OzAgON; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k17-20020a4adfb1000000b0035ed56e0a62si14675307ook.72.2022.05.10.08.24.18; Tue, 10 May 2022 08:24:32 -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.com header.s=mimecast20200619 header.b=g3OzAgON; arc=pass (i=1 spf=pass spfdomain=suse.com dkim=pass dkdomain=suse.com dmarc=pass fromdomain=suse.com); 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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243293AbiEJPXk (ORCPT + 99 others); Tue, 10 May 2022 11:23:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345555AbiEJPWr (ORCPT ); Tue, 10 May 2022 11:22:47 -0400 Received: from de-smtp-delivery-102.mimecast.com (de-smtp-delivery-102.mimecast.com [194.104.109.102]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C669287A1E for ; Tue, 10 May 2022 08:06:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=mimecast20200619; t=1652195215; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=VnxDcbFV7WOZ0byOgiUFVmsEBVt8jzdShZ7LANDyJj4=; b=g3OzAgONJsb3V05tsNct5nOQubPZIgMO0609MjmBD30ZtoUUJ/F0oEgncjZhPxW83nu3bB dsJfq+WcezUKGAVZfM+6bsBwIQXWuCqWquqSgqjxKddDVfiIDWmnm+pASlX39zw1PKISlK OluDBvaf/htCovxRv1YN7GSGDuTxBNg= Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01lp2059.outbound.protection.outlook.com [104.47.2.59]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id de-mta-11-UOclb445Mb2Ml3jdjEUYSw-1; Tue, 10 May 2022 17:06:52 +0200 X-MC-Unique: UOclb445Mb2Ml3jdjEUYSw-1 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KZF0jBrS70u8LI70skWHUAI5ECfYNLnRThu4KeMkymwy9sRCnUJROktYok4Rl1nv9E0CEywNgnpPKxxoA3XgoiZ4pAhElPvXA/a7NeL6JFqROGnP33i/CuUhcviDIFObxEOxTMS+o/qYLm//HUqdfeM4cMS+Z4IriQKOZIZd6JczL1pHsPaAjmXUZ34L4zv9FEOH9Aj2RJU9s2Ch5XT1ZTQfK8sZcvPFKZvXJS0D4VqpcdRdoEaR6CxXFeqp2Ya0CDYKQrm1OCc+HH2jWu7vIdWz1xHQQ0sih6cflx6KOPfzbZht0TDDShpXXACG0uLk3QZ3VklsQvHeafQdi50C7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=VnxDcbFV7WOZ0byOgiUFVmsEBVt8jzdShZ7LANDyJj4=; b=JNfkp4UD3dFkODIsmytqo1/KMs3yK+26HkudnRVbL6nWH8DHpdO1utBXd+axEyQrVIMGBffpmOm59bDCHo/h7Ftjl+Pc5m3UCQXjIwKFtv1BU7EHeAbSbvceurRP8E7FCzmtaTo5Bs8SunBsAqOUcIhP/e5GYecofM9ni79v2HlZUhtJJytlAmNY/4OM+rsFM7792Y5UAq0MmK37OlimnBqFbxdmjjcns0AQPrgS2HIeB9Ir7IkmD6Wq+skEQ8qeb9Zz3zYM1qoq3wbN/cwSVM3x4aHsdchMGgTrTuZE/seqZUVOXNqxVGq6v2bGc4cflYjKuQP4n/ulJaSx3Vyt9w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com; Received: from VI1PR04MB5392.eurprd04.prod.outlook.com (2603:10a6:803:cb::18) by DU0PR04MB9443.eurprd04.prod.outlook.com (2603:10a6:10:35b::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5227.21; Tue, 10 May 2022 15:06:51 +0000 Received: from VI1PR04MB5392.eurprd04.prod.outlook.com ([fe80::d8ea:1530:2554:61fa]) by VI1PR04MB5392.eurprd04.prod.outlook.com ([fe80::d8ea:1530:2554:61fa%7]) with mapi id 15.20.5227.023; Tue, 10 May 2022 15:06:50 +0000 Message-ID: <9e6ef8ae-f55f-0b47-02de-2d6827b123ff@suse.com> Date: Tue, 10 May 2022 16:06:47 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: linux-next: manual merge of the folio tree with the btrfs tree Content-Language: en-US To: Matthew Wilcox Cc: Stephen Rothwell , David Sterba , David Sterba , Linux Kernel Mailing List , Linux Next Mailing List References: <20220510183908.7571cb73@canb.auug.org.au> <55f4b515-1d1c-fd3e-0f93-4cda45261c91@suse.com> From: Filipe Manana In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0379.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a3::31) To VI1PR04MB5392.eurprd04.prod.outlook.com (2603:10a6:803:cb::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a8e6b176-bc9c-4d04-d430-08da3296b5ed X-MS-TrafficTypeDiagnostic: DU0PR04MB9443:EE_ X-LD-Processed: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba,ExtFwd X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rhS7f0rYL7rOyaVYB60LlCEmuhQlZeYZWDsgN7hVkZlF/ofyztpBA8G/HtLjxE8Mwqa6q0/L/GmPrOFK9nUQvgTVnl9TC1IPcSloBxOs27uqN4KUHtZTgWvKkoNapohlOnEML/31kQ7dACngcmywwO4XA3tj8ncKwEScatKbgAnSka3DtlE23OHgISZVzvyIgp8f0x+wnxyUse0ARdCgxzAibu8mB0u9PH+L0xOuJkYNyEC1R7BRQtj84ceWqqiEXg1LIhWK0wY/g1aH1VsK7I+8IBYF3Px5GXJnyAXGMfUXeOC5HFGoCsMf43bFBzd2k3Tu/9ffjmPS0utfIL+VW4UTwOWg4Z9dImS7j2X2ftYQqbAEtNDraaaP1kb65Nii7fzRxPlH6Sh+drHPOkl80CjZa2nu17NCHhqTwcQOy73h0rYjxy1hofZOd71JmUeaKXquARJtZtILiMSJrM8FgaZzvXe5eUT1xwON4Prmp5R1t8L2A9hDBEJhFdOy7Pz9BdnBLeO1fw3+A0R/fYRGVNuzsdehgOw9UfxPfXnsr11c+jQ771uWQ2tP5Qd4KuzIoR4SojyyGpbJ4RU4ySRG77ss1i+a4zNZaW0kmlje9gP4GyHa4vMW/MdmTloo3An8t2v1bmVeXJqGrjaeZxHMZ/idFvzGENx0Bjkb+ULvZE2JcW551iCtoZdJVhLHD8XtaKXEpP8iFrlC1Xj2rDP7mAYEsDOo4dCGIFIRaE4dOa8= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:VI1PR04MB5392.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(366004)(38100700002)(6506007)(31696002)(53546011)(86362001)(6666004)(2906002)(8936002)(83380400001)(6486002)(2616005)(6512007)(508600001)(5660300002)(31686004)(54906003)(316002)(36756003)(6916009)(8676002)(186003)(66556008)(4326008)(66476007)(66946007)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 2 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?WW8rT2ZZeEZqVUI5a0U4am8vc3dIVlhBSUIwa1ZvMU41bkc1V2h0L2ZSRGk2?= =?utf-8?B?TW9VaW1NOTFhQ01XUllHVytwbnM0L2MxTHZEK2JrcDdydmtYc2xGdXFWYnNC?= =?utf-8?B?ZldSamdXbm42WU45cXlYcmxmdjZjeDdjU2FRUjllQVNLOW81UzArM2Y3SnNO?= =?utf-8?B?S3g4YStQZ0thLzd2SGJJZ1U1eVl1Ti9SYTFIaTU3RXIwdk94YkhxT3hSUWta?= =?utf-8?B?RDRSQmVmNE5SMWtHR2pNR1N1eVplTnprNU03QlFjUGhOZmJNUWdmRExBdD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mVKNFNMQUpGRDNFZmllMXd5anZRNndIeU5uNXZ5?= =?utf-8?B?SEkrczcwRHkxZ3VQUHFadXlzcjRIeTh4MXpneEhMRzV1Um5qQjdYNjBXUDVy?= =?utf-8?B?dlIycCs2bFZ6TGxJL2xPbnBTbFZQM3BUUytvK1FQRktiazRaUldsRU0xNTBN?= =?utf-8?B?b3k1MUwzZjdwWkllcFBWbkhFazJvc1F1VmJPSUl4QWR6WVdRazB3Yk41YzZl?= =?utf-8?B?dXdCQjlSMVIyVERaMUpzTGx1dWc1WnEzSHpkOXoxWERMb3F6amgvWCtSanpO?= =?utf-8?Q?wUB7C7W5YhgjP5xAeo/VHxLEomoF86OPlXNSfyXYOP+OP?= X-MS-Exchange-AntiSpam-MessageData-1: Hc3zfWclUrYvDA== X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: a8e6b176-bc9c-4d04-d430-08da3296b5ed X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5392.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2022 15:06:50.8373 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: YVtfOJJySn3LPbpeZFOTJPkvgQayshxxRjXUqhxU6HFHYLKLiUTUjKQwhxlRhNIVqmGV/BEY2LH5S8qHM0+NaA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR04MB9443 X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 10/05/22 16:04, Matthew Wilcox wrote: > On Tue, May 10, 2022 at 10:43:07AM +0100, Filipe Manana wrote: >> On 10/05/22 09:39, Stephen Rothwell wrote: >>> Hi all, >>> >>> Today's linux-next merge of the folio tree got a conflict in: >>> >>> fs/btrfs/send.c >>> >>> between commit: >>> >>> d1a1a97304b4 ("btrfs: send: keep the current inode open while processing it") >>> >>> from the btrfs tree and commit: >>> >>> 2ebdd1df3166 ("mm/readahead: Convert page_cache_async_readahead to take a folio") >>> >>> from the folio tree. >>> >>> I fixed it up (I think - see below) and can carry the fix as >> >> Looks correct to me. > > Me too. The patch this one enables is rather sad. It's yet another > reminder that we suck at streaming workloads. But until we fix that, > don't you want to use invalidate_inode_pages2_range() rather than > truncate_inode_pages_range()? If your send conflicts with someone > else's write(), you'll erase their write to the page cache. Send operates only on readonly trees, so it can't happen. Thanks. >