Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp6181584rdb; Mon, 18 Sep 2023 06:36:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG05FMyrO6KPbAYV3wegFpG8JwaXfTQ6Gu3kzgn6CVy/N2tqzzTHAKbWbl6T2pU4ww0Smnf X-Received: by 2002:a17:90a:68c6:b0:268:b64b:f684 with SMTP id q6-20020a17090a68c600b00268b64bf684mr8112953pjj.33.1695044215755; Mon, 18 Sep 2023 06:36:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695044215; cv=none; d=google.com; s=arc-20160816; b=AZG07NzpFjPwvEmxs+by/OwclVHx8J3c+QzYDYaW3YD/5y+q/YfaTC9Kx++I+HEGGx YrQHSeNSHRXDD4Ba6QgrsfoCHvHEXdPa0Benj8CoaXXHjPxXDtM5trVORxDrqek7vvlQ /AhcgaxnLhWelv20jFwUblAa6NCJvVBDS1OQTvu9Lxq+aNrtd2YagpH5ZWrtN9zUMXQQ 3wQkONP63OSp8CPDdU50+hOB/rhKCU690lIG4WJcXoI0uB0rURR79AuC19u7p6xDiXn2 L9V2wE7TaH7UKAR4G3KT9FlcxRFECuDsTNJLQDJ0j0BbERrGh3duQUEN3MTwXsTqciSp cXZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:cms-type:content-transfer-encoding :in-reply-to:from:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature:dkim-filter; bh=T8vDLSLgWlgqAAt+WTBX0Wul4eBpG5N9RZJcFXyghzA=; fh=vWIFiv7/8Eejkb5KWp6oENW4zPDzhXhBE3yCPLPWvk8=; b=i/1F+qGGoy+j/EYJzPL7x6Aq4qvp/FdJ72ebRqI1+jjibtV/m3LcxJiziVdi035bQi 7TGol4g9lk26/9KQZmfl3hL9A16B6ea1qamkUKNRonKWzgUpP6760Hdsrt/h3D/TTBdi i4Rhih2bn3SEdOi/rvA5kmdVXDpyaUQKKmzYhf6oNlT7jP5lZy/se4VXFEniLjxK58f+ wTEIDD1CA5P52YicIdy1NH+EU3ET9APijdT8dhP6yA6QanK4XjPjnjsGuw8IDkZ3nUc6 pTCzmh6WLtf42AbT+CSC2eSMApqVTnM+2OGnaad9RZ4j9NVwsrnCAr85IFtdAoRj6aMg c1zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=Vj+S+5MQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id e9-20020a17090a804900b0026b7f68f386si3887809pjw.73.2023.09.18.06.36.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 06:36:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=Vj+S+5MQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 82EDB80BB5D4; Mon, 18 Sep 2023 05:31:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239808AbjIRMaJ (ORCPT + 99 others); Mon, 18 Sep 2023 08:30:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241965AbjIRM3g (ORCPT ); Mon, 18 Sep 2023 08:29:36 -0400 Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEBB8A0 for ; Mon, 18 Sep 2023 05:29:28 -0700 (PDT) Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20230918122925euoutp01d1757c5d94747ad2b1f73cffc081e90b~F-gzDWgRc2931829318euoutp01e for ; Mon, 18 Sep 2023 12:29:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20230918122925euoutp01d1757c5d94747ad2b1f73cffc081e90b~F-gzDWgRc2931829318euoutp01e DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1695040165; bh=T8vDLSLgWlgqAAt+WTBX0Wul4eBpG5N9RZJcFXyghzA=; h=Date:Subject:To:CC:From:In-Reply-To:References:From; b=Vj+S+5MQL01hMeAXbmSlxDrobhV5Eae2Nbl2jOmNZ9d8WM1LpTq2LFqF7/hslvA3Q V9KY8o6m/2LkQBtPYDXcJUC5vJj9RCQr+DfVcLZA+c5pdHuJUch81IOBCtr5SNlXLX R5nCYaYcmc0WmGTJ4pvb4RCMVqvnTiwr1wD8WrFU= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20230918122925eucas1p299320dca1a3f9a01e99b30b07589323e~F-gylZHN91246712467eucas1p2w; Mon, 18 Sep 2023 12:29:25 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 98.F8.42423.4A248056; Mon, 18 Sep 2023 13:29:24 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20230918122924eucas1p122bce924223345533b05aed016357efa~F-gyG4mCb1618116181eucas1p1O; Mon, 18 Sep 2023 12:29:24 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20230918122924eusmtrp1dd7e281107acb0ea17c1fdd0727b0b1a~F-gyGOxm21513115131eusmtrp1J; Mon, 18 Sep 2023 12:29:24 +0000 (GMT) X-AuditID: cbfec7f2-a51ff7000002a5b7-a4-650842a41b86 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 4D.C8.10549.4A248056; Mon, 18 Sep 2023 13:29:24 +0100 (BST) Received: from CAMSVWEXC02.scsc.local (unknown [106.1.227.72]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20230918122924eusmtip1596c50d6c894097e01fd6ac2602f0744~F-gx7PNpM1269412694eusmtip1f; Mon, 18 Sep 2023 12:29:24 +0000 (GMT) Received: from [192.168.8.209] (106.210.248.18) by CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 18 Sep 2023 13:29:23 +0100 Message-ID: <806df723-78cf-c7eb-66a6-1442c02126b3@samsung.com> Date: Mon, 18 Sep 2023 14:29:22 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [RFC 00/23] Enable block size > page size in XFS Content-Language: en-US To: Dave Chinner , Luis Chamberlain CC: Pankaj Raghav , , , , , , , , , , , From: Pankaj Raghav In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [106.210.248.18] X-ClientProxiedBy: CAMSVWEXC01.scsc.local (2002:6a01:e347::6a01:e347) To CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) X-Brightmail-Tracker: H4sIAAAAAAAAA+N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2yfLtmkIripIqFfwJX7xSYGickRSlaXpFJ+FRTJ 7/PP+tDlHHrWxTItbQ7Lwk9flSttXqZw1WQxSp//2T410sh0c9KehI5PWbd6z/Vdia/+cu2d 1r+spL/KJz6El3wtt57P+OiH1qyZnUuXu4nbKbEUZyQaajEXFScCAO6nMWyQAwAA X-CMS-MailID: 20230918122924eucas1p122bce924223345533b05aed016357efa X-Msg-Generator: CA X-RootMTR: 20230918050749eucas1p13c219481b4b08c1d58e90ea70ff7b9c8 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20230918050749eucas1p13c219481b4b08c1d58e90ea70ff7b9c8 References: <20230915183848.1018717-1-kernel@pankajraghav.com> X-Spam-Status: No, score=-2.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Mon, 18 Sep 2023 05:31:01 -0700 (PDT) >>> >>> As it is, I'd really prefer stuff that adds significant XFS >>> functionality that we need to test to be based on a current Linus >>> TOT kernel so that we can test it without being impacted by all >>> the random unrelated breakages that regularly happen in linux-next >>> kernels.... >> >> That's understandable! I just rebased onto Linus' tree, this only >> has the bs > ps support on 4k sector size: >> >> https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git/log/?h=v6.6-rc2-lbs-nobdev > I think this tree doesn't have some of the last minute changes I did before I sent the RFC. I will sync with Luis offline regarding that. > >> I just did a cursory build / boot / fsx with 16k block size / 4k sector size >> test with this tree only. I havne't ran fstests on it. > > W/ 64k block size, generic/042 fails (maybe just a test block size > thing), generic/091 fails (data corruption on read after ~70 ops) > and then generic/095 hung with a crash in iomap_readpage_iter() > during readahead. > > Looks like a null folio was passed to ifs_alloc(), which implies the > iomap_readpage_ctx didn't have a folio attached to it. Something > isn't working properly in the readahead code, which would also > explain the quick fsx failure... > Yeah, I have noticed this as well. This is the main crash scenario I am noticing when I am running xfstests, and hopefully we will be able to fix it soon. In general, we have had better results with 16k block size than 64k block size. I still don't know why, but the ifs_alloc crash happens in generic/451 with 16k block size. >> Just a heads up, using 512 byte sector size will fail for now, it's a >> regression we have to fix. Likewise using block sizes 1k, 2k will also >> regress on fsx right now. These are regressions we are aware of but >> haven't had time yet to bisect / fix. > > I'm betting that the recently added sub-folio dirty tracking code > got broken by this patchset.... > Hmm, this crossed my mind as well. I am assuming I can really test the sub-folio dirty tracking code on a system which has a page size greater than the block size? Or is there some tests that can already test this? CCing Ritesh as well. > Cheers, > > Dave.