From: Sage Weil Subject: Re: [ceph-users] Deprecating ext4 support Date: Wed, 13 Apr 2016 08:30:52 -0400 (EDT) Message-ID: References: <570C9D03.6020701@speedpartner.de> <20160413112930.49906f15@batzmaru.gol.ad.jp> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: Received: from cobra.newdream.net ([66.33.216.30]:44897 "EHLO cobra.newdream.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759195AbcDMMbA (ORCPT ); Wed, 13 Apr 2016 08:31:00 -0400 In-Reply-To: <20160413112930.49906f15@batzmaru.gol.ad.jp> Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Christian Balzer Cc: ceph-users@ceph.com, Michael Metz-Martini | SpeedPartner GmbH , ceph-devel@vger.kernel.org, ceph-maintainers@ceph.com On Wed, 13 Apr 2016, Christian Balzer wrote: > > > Recently we discovered an issue with the long object name handling > > > that is not fixable without rewriting a significant chunk of > > > FileStores filename handling. (There is a limit in the amount of > > > xattr data ext4 can store in the inode, which causes problems in > > > LFNIndex.) > > We're only using cephfs so we shouldn't be affected by your discovered > > bug, right? > > > I don't use CephFS, but you should be able to tell this yourself by doing > a "rados -p ls" on your data and metadata pools and see the > resulting name lengths. > However since you have so many objects, I'd do that on a test cluster, if > you have one. ^o^ > If CephFS is using the same/similar hashing to create object names as it > does with RBD images I'd imagine you're OK. All of CephFS's object names are short, like RBD's. For RBD, there is only one object per image that is long: rbd_id.$name. As long as your RBD image names are "short" (a max length of 256 chars is enough to make ext4 happy) you'll be fine. sage