From mboxrd@z Thu Jan 1 00:00:00 1970 From: ebiederm@xmission.com (Eric W. Biederman) Subject: [PATCH 0/15] sysfs lazification final Date: Sat, 07 Nov 2009 23:25:03 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Kay Sievers , Greg KH , linux-kernel@vger.kernel.org, Tejun Heo , Cornelia Huck , linux-fsdevel@vger.kernel.org, Eric Dumazet , Benjamin LaHaise , Serge Hallyn To: Greg Kroah-Hartman Return-path: Received: from out02.mta.xmission.com ([166.70.13.232]:38483 "EHLO out02.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751163AbZKHHZC (ORCPT ); Sun, 8 Nov 2009 02:25:02 -0500 In-Reply-To: (Eric W. Biederman's message of "Tue\, 03 Nov 2009 03\:53\:56 -0800") Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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. This acks have been folded in and the two small bugs found in the previous review have been fixed in the trailing patches (they are minor enough nits that even a bisect that happens to land in the middle should not see sysfs problems). 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