From mboxrd@z Thu Jan 1 00:00:00 1970 From: ebiederm@xmission.com (Eric W. Biederman) Subject: [PATCH 0/13] sysfs lazification. Date: Tue, 03 Nov 2009 03:53:56 -0800 Message-ID: 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 To: Greg Kroah-Hartman Return-path: 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 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. 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