From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bombadil.infradead.org ([198.137.202.133]:58268 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751422AbeGHPyX (ORCPT ); Sun, 8 Jul 2018 11:54:23 -0400 Date: Sun, 8 Jul 2018 08:54:23 -0700 From: Christoph Hellwig Subject: Re: [PATCH RFC 7/8] xfs: return non-zero blocks for inline data Message-ID: <20180708155423.GE8625@infradead.org> References: <1530846750-6686-1-git-send-email-shan.hai@oracle.com> <1530846750-6686-8-git-send-email-shan.hai@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1530846750-6686-8-git-send-email-shan.hai@oracle.com> Sender: linux-xfs-owner@vger.kernel.org List-ID: List-Id: xfs To: Shan Hai Cc: linux-xfs@vger.kernel.org On Fri, Jul 06, 2018 at 11:12:28AM +0800, Shan Hai wrote: > Return non-zero blocks for inline data even though the inode has > no external blocks, otherwise the "ls -ls" would show zero blocks > occupied by the file. Does this match the behaviour of existing file systems with inline data? What do btrfs, ext4 or gfs2 report?