From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.160.172 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796245699; b=YmWrWjx2MsrcVozzs/DbyDoOQXaJxatVPPJWT4f4jVGuLEGjPUTsA4sanbsEnUgku7ds lVsQFmcxwFVZRaADL1lzwNtbg1aiKSh8YSqMeYiIfny55bSYSKTBONPh6+uaDdI6ZBg3R HwCl/+iwKtcg/uMLidBh6QqsiEIoE333OpIsAryh+5qktoYf+NSivLMG7QJGgPcXYAfBY 8cACBLeL7saBj5oZj9Im5B1wKA2mbVskM88XhdJkjE9GM8je3I48tNxsHorXOR63Golbb dr13fdF9R/hEuSfwamshe+k/zOT7Sp5scu52avYP6pc7VGfqhozqbC8fMfofwjq52oQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796245699; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-Id:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; bh=LlanJhz9kWnMNFq/9WaH96L46bA0MbzQCo6gcRBBQg4=; b=1OSIn3Re5jxqUuiDXl24SdH36AJA7/9N9Rg5wtXHP3AeUSOQnLAl35NdysYDiugEXGsO U8tm1e02rnfwhPgj7Lx2QZhCalmL1Uqbt+T1GZ4soIX0jGUXr7pRpo4w3VXiRMo6fdRZl IYOkL+PlGeHQEdst4P8yZVCHQsNtc2fCGjN6omA9QAbTYSfT98IztwHz/s901N2bDAT5h PJQLddU/se7kZrRA0z4gOh80V1qoX5UT+z1laXffkwOxh2Sk9fhRRN1pSQ6BWYs5vfa2K weCgcN0S8Wx+AIGgoKYCSaAHYDWaTowyEKgrzzQZtaGV3pS+CZ2aN2t5SRmT14hVapw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=dBeDqyon; arc=none smtp.remote-ip=209.85.160.172 Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com [209.85.160.172]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BD4E7606A32F for ; Wed, 2 Dec 2026 21:08:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org BD4E7606A32F Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=dBeDqyon Received: by mail-qt1-f172.google.com with SMTP id d75a77b69052e-55d3563e50eso129985741cf.0 for ; Wed, 02 Dec 2026 13:08:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796245698; x=1796850498; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=LlanJhz9kWnMNFq/9WaH96L46bA0MbzQCo6gcRBBQg4=; b=dBeDqyonTKP2MWmuEaEFdXmSgcIb3L3DaXLcAMf4LeLlgQkEWA+cHEnsnJe86xxFrw OuQ3Gp04I3g+hXhXiKFlJ68an503YbBs8EVBoQhTz4dUAxJgIXsnaXInfJb9iXQcRKmt EL4HBvi1eibah7BD39PIXBsPvr7q0rrq7T4j6kJJZzOOgSImbS77d7PNxShxzWoRL/th NzLdy5M02hXR4W39EfoZLjkswz08Ib/3J51Xib922p42/hnhTu0mXEsN8nFyogB1DYPQ xqSgpkmfHpnpfiQ7d8ZIgfIPWCJi34dxno2rzTsfqTmdmMA1Hgm4MeSUTStyvUhYNOPS CgyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796245698; x=1796850498; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=LlanJhz9kWnMNFq/9WaH96L46bA0MbzQCo6gcRBBQg4=; b=lJivMKEBYM4TrlxpaQx3XgzCoI2zYs7drBRt2xTsycVrKXg02n5sBFznOOyi7KxVtE 71Gi84Y/6wxYC1eAyTOjQnB64VO+mjjhb/U49GW9v7f+RWigifvEFkUOxJFanm40Lm5b iz3u9F4HWb5yFna+I6i3lAJaIxcag/DbFJywIQqDMcygQwYQijlYpP8jCTtNQXzJ+rxs sjL5BuLo2XlhA8JAVrrYXXTyrpA0B/EzEAdCUxD59Wk/H/6P0fJVCobNn/5jvYy09VhS blsBw25ujcOQkf3Vtef3ZqcgWB/8tZZ8wuerVQ4IJLBLqZ/tF1ig90tHRR7pwi5w03kn 1JYQ== X-Forwarded-Encrypted: i=1; AL+hErHoZWVRqSzjbe9BCwXl8Bq7mRjSt68yHM1ZqIG3EzNW0Ld2+RhIGCDDD58wFe/VT30T2/vok0SJBOM=@vger.kernel.org X-Gm-Message-State: APuU4Z/VicDnTttcwOdZDfE8tRUdkDv/aGkb3lfDU7juNkEZKG42D57p P1JcwMTR0DGG9qYvE8UGElun0wAGUbs1hroC6By0li5XsR8oJTWwdghR X-Gm-Gg: AZFdTZeYWSIBDjs1BRC5ZKKXePvJ0C6J+fLOBWSl5L9IxL8T+M3lQfldo6RSGDNkdHE asDZslYlkGKPOpLrFtK/yAsc8qw8jo2xDzimLDYXeeorHM2TdE5NEDfaJoc0MGwzbe0memnbm1y YSWgYfaaGtUGjMS1u4AUdBAdLN6/+nLc5a79jB057Y+IkN+u9NK97uejris2h5SyI4KG5kdVzGv nRedArTB28zhObTyMhTHmdvzO0VZlR1WfkKM32af7W8ftvNC3kOKbQqSdMwS9wQscPitNzPqaLI 6cxN6XuAov/TWGXv870Gdhgzj7qxQgEP3VmKn7cXs18j+ovZOeeja487kElKoZtvwJtt686GvtH GLImtGkecbHJk3/rA4gSELxwGKR8pqILR8ii1nuojBsMAobBmLOtMeiXvFq73D7uqp5eiblLYvT 2j0luFg77YLg5sSa7Mjt5LZOWdVmyyQpWbFg22O6fmWE4Mcw6rTiREVRSh3i/SezTCB+78fQbjs wPsLhasjfRyLZaCIpnCu/Ye01gNXO5aZBZv96RiJ+/h8JM3HidAqmAEWHzq/0uVxLp7P4SWEEnC esdsCeWjvrdeP3YuqJceAVohMVzEcBXPX9rcmVTG9Pu7F9DDQI5p4nhj3tv8WYVSZLACQNb+DS3 xdFgA8EyFHeevp7wjolRdwDIgzinmfbhLgExbQ2A= X-Received: by 2002:ac8:5d90:0:b0:55d:32ed:38bb with SMTP id d75a77b69052e-55d76a5af68mr800087541cf.42.1796245697748; Wed, 02 Dec 2026 13:08:17 -0800 (PST) Received: from FKXX2DL94F.bytedance.net ([71.18.96.12]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-55dbeae112bsm193696411cf.8.2026.12.02.13.08.16 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 02 Dec 2026 13:08:17 -0800 (PST) From: Yifan Feng To: Christoph Hellwig Cc: Carlos Maiolino , Ian Kent , Christian Brauner , linux-xfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] xfs: don't drop inode32 on a remount without inode32 or inode64 Date: Wed, 2 Dec 2026 13:08:11 -0800 Message-Id: <20261202210811.24170-1-evanfengff@gmail.com> X-Mailer: git-send-email 2.39.3 (Apple Git-146) In-Reply-To: References: <20261130001917.56901-1-evanfengff@gmail.com> X-Mailing-List: linux-xfs@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On Mon, 30 Nov 2026 05:45:33 -0800 Christoph Hellwig wrote: > Looks good: > > Reviewed-by: Christoph Hellwig Thanks. > Can you add an xfstests test for this? Yes, I will send one to the fstests list. > I also wonder if we might have similar issues for other mount options. > Do you have spare cycles to look over that? I looked. xfs_fs_reconfigure() takes three things from the options of the remount: ro/rw, inode32/inode64 and max_atomic_write. The rest is only validated. max_atomic_write has the same problem: # mount -o max_atomic_write=64k /dev/vda /mnt # findmnt -no OPTIONS /mnt rw,relatime,inode64,logbufs=8,logbsize=32k,noquota,max_atomic_write=64k # mount -o remount,noatime /dev/vda /mnt # findmnt -no OPTIONS /mnt rw,noatime,inode64,logbufs=8,logbsize=32k,noquota I will send a patch for it on top of this one. Thanks, Yifan