Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757283Ab3IKUd6 (ORCPT ); Wed, 11 Sep 2013 16:33:58 -0400 Received: from mail.lang.hm ([64.81.33.126]:35923 "EHLO bifrost.lang.hm" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750839Ab3IKUd5 (ORCPT ); Wed, 11 Sep 2013 16:33:57 -0400 Date: Wed, 11 Sep 2013 13:32:26 -0700 (PDT) From: David Lang X-X-Sender: dlang@asgard.lang.hm To: Eric Sandeen 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 Subject: Re: [PATCH v3 0/2] ext4: increase mbcache scalability In-Reply-To: <52309F27.8060008@redhat.com> 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> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1123 Lines: 24 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/