From: David Lang Subject: Re: [PATCH v3 0/2] ext4: increase mbcache scalability Date: Wed, 11 Sep 2013 13:32:26 -0700 (PDT) Message-ID: References: <1374108934-50550-1-git-send-email-tmac@hp.com> <1378312756-68597-1-git-send-email-tmac@hp.com> <20130905023522.GA21268@thunk.org> <52285395.1070508@hp.com> <0787C579-7E2C-4864-B8F4-98816E1E50A2@dilger.ca> <5229C939.8030108@hp.com> <62D71A85-C7EE-4F5F-B481-5329F0282044@dilger.ca> <20130910210250.GH29237@thunk.org> <522FDFCC.1070007@redhat.com> <20130911113001.GB13315@thunk.org> <52309F27.8060008@redhat.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: "Theodore Ts'o" , Andreas Dilger , Thavatchai Makphaibulchoke , T Makphaibulchoke , Al Viro , "linux-ext4@vger.kernel.org List" , Linux Kernel Mailing List , "linux-fsdevel@vger.kernel.org Devel" , aswin@hp.com, Linus Torvalds , aswin_proj@lists.hp.com To: Eric Sandeen Return-path: In-Reply-To: <52309F27.8060008@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-ext4.vger.kernel.org On Wed, 11 Sep 2013, Eric Sandeen wrote: >> The reason why I'm pushing here is that mbcache shouldn't be showing >> up in the profiles at all if there is no external xattr block. And so >> if newer versions of SELinux (like Adnreas, I've been burned by >> SELinux too many times in the past, so I don't use SELinux on any of >> my systems) is somehow causing mbcache to get triggered, we should >> figure this out and understand what's really going on. > > selinux, from an fs allocation behavior perspective, is simply setxattr. what you are missing is that Ted is saying that unless you are using xattrs, the mbcache should not show up at all. The fact that you are using SElinux, and SELinux sets the xattrs is what makes this show up on your system, but other people who don't use SELinux (and so don't have any xattrs set) don't see the same bottleneck. David Lang