Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1657353ybv; Thu, 6 Feb 2020 07:37:32 -0800 (PST) X-Google-Smtp-Source: APXvYqyqaLGzuKD6o2p6/mn9AuXXKnl9e066dlmrLoIPoT001LIhLlffR9HfVIkyq5CHHGoAJAup X-Received: by 2002:a9d:2647:: with SMTP id a65mr30653186otb.101.1581003452598; Thu, 06 Feb 2020 07:37:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581003452; cv=none; d=google.com; s=arc-20160816; b=nKIxPZGEIEkZgHXJINbw4CxrnNL1T8mQfop4DdqclfFRBwHeqAgk/J/BaxeoHlFLYH v95bbLRh3aG7aMVFtcoDpGIjvThPwlmftvhc/Oz4o2/mXk6XX4A635D0GHuzm7YDJV/i SxYXU0ebScubPoTZyhkFpR5umJ7xbhTgz3dWtcc+bW9WOVs+VqpI3MGsgX52/3GU7YKS 5mMSXdq00GNR2Xo1bYMJrDtnY59G2f2RUnr1H0dUA6fdX1XXKqbbvvC65W73xuGxrtbF byhPs4v4OY4yXEuzmkE/gJ7hzynfaw3SBaNy3/BrAaVN9xGaJWKYGYDN+rxJFQKeBoTS Ez2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-transfer-encoding :content-disposition:mime-version:mail-followup-to:message-id :subject:cc:to:from:date; bh=iCqq+agJsFEmnjHRNpbnS6pETE0olica4OozOy37caM=; b=q59D8HcpXZu7BnaEd19Mo0fwLqLTF/E435bK8HD6LPFjmpricKEGecMmBA5fVQIOd/ KB1sivNXcGTLvTD4Pr6kU4YpG94XMoAd9LbkwISWowdYwI5qPSdt3x5Mic19aTD2rOm1 1hOzvr2+Tg4ExZqR/x50XVcrdOSDVOy6P7EdQRH0hUGX3LjoHT12GIki7+PhQ/dHY0Xl r0ZjTyKGGyYcTiubKjjqylJjh1vMaLjBQhUBaiihQJsIYMmjtBYae5z+YebYqGqjE25P QK700uhhiJ4Cok8mgqUc3YyErCICWt7qF5cqNqJqf6okn3qKS4AVQ4xta68K8X2XBuqI 6GnA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p23si2336172otk.119.2020.02.06.07.37.20; Thu, 06 Feb 2020 07:37:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727060AbgBFPfn convert rfc822-to-8bit (ORCPT + 99 others); Thu, 6 Feb 2020 10:35:43 -0500 Received: from MAIL.13thfloor.at ([213.145.232.33]:57702 "EHLO MAIL.13thfloor.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725535AbgBFPfn (ORCPT ); Thu, 6 Feb 2020 10:35:43 -0500 Received: by mail.13thfloor.at (Postfix, from userid 1001) id EDD0216309; Thu, 6 Feb 2020 16:35:42 +0100 (CET) Date: Thu, 6 Feb 2020 16:35:42 +0100 From: Herbert Poetzl To: linux-ext4@vger.kernel.org Cc: linux-kernel@vger.kernel.org Subject: EXT4: unsupported inode size: 4096 Message-ID: <20200206153542.GA30449@MAIL.13thfloor.at> Mail-Followup-To: linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 8BIT User-Agent: Mutt/1.5.11 Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org I recently updated one of my servers from an older 4.19 Linux kernel to the latest 5.5 kernel mainly because of the many filesystem improvements, just to find that some of my filesystems simply cannot be mounted anymore. The kernel reports: EXT4-fs: unsupported inode size: 4096 Here is a simple test to reproduce the issue: truncate --size 16G data losetup /dev/loop0 data mkfs.ext4 -I 4096 /dev/loop0 mount /dev/loop0 /media [33700.299204] EXT4-fs (loop0): unsupported inode size: 4096 Note: this works perfectly fine und 4.19.84 and 4.14.145. My guess so far is that somehow the ext4 filesystem now checks that the inode size is not larger than the logical block size of the underlying block device. # cat /sys/block/loop0/queue/logical_block_size 512 Note that the logical block size is also 512 on many SATA drives which have a physical block size of 4096. Any ideas how to address this problem and get the file- systems to mount under Linux 5.5? Many thanks in advance, Herbert