Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752516AbZKCLyH (ORCPT ); Tue, 3 Nov 2009 06:54:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752094AbZKCLyH (ORCPT ); Tue, 3 Nov 2009 06:54:07 -0500 Received: from out02.mta.xmission.com ([166.70.13.232]:59281 "EHLO out02.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752011AbZKCLyG (ORCPT ); Tue, 3 Nov 2009 06:54:06 -0500 To: Greg Kroah-Hartman Cc: Kay Sievers , Greg KH , linux-kernel@vger.kernel.org, Tejun Heo , Cornelia Huck , linux-fsdevel@vger.kernel.org, Eric Dumazet , Benjamin LaHaise Subject: [PATCH 0/13] sysfs lazification. From: ebiederm@xmission.com (Eric W. Biederman) Date: Tue, 03 Nov 2009 03:53:56 -0800 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-XM-SPF: eid=;;;mid=;;;hst=in01.mta.xmission.com;;;ip=76.21.114.89;;;frm=ebiederm@xmission.com;;;spf=neutral X-SA-Exim-Connect-IP: 76.21.114.89 X-SA-Exim-Mail-From: ebiederm@xmission.com X-SA-Exim-Version: 4.2.1 (built Thu, 25 Oct 2007 00:26:12 +0000) X-SA-Exim-Scanned: No (on in01.mta.xmission.com); Unknown failure Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1072 Lines: 27 The sysfs code updates the vfs caches immediately when the sysfs data structures change causing a lot of unnecessary complications. The following patchset untangles that beast. Allowing for simpler more straight forward code, the removal of a hack from the vfs to support sysfs, and human comprehensible locking on sysfs. Most of these patches have already been reviewed and acked from the last time I had time to work on sysfs. In net the patches look like: fs/namei.c | 22 --- fs/sysfs/dir.c | 388 ++++++++++++++++--------------------------------- fs/sysfs/file.c | 41 +---- fs/sysfs/inode.c | 178 ++++++++++++++--------- fs/sysfs/symlink.c | 11 +- fs/sysfs/sysfs.h | 9 +- include/linux/namei.h | 1 - 7 files changed, 256 insertions(+), 394 deletions(-) Eric -- 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/