mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [RFC 0/6] sysfs backing store v0.3
@ 2004-03-18  6:33 Maneesh Soni
  2004-03-18  6:33 ` [RFC 1/6] " Maneesh Soni
  2004-03-20 17:57 ` [RFC 0/6] " Matt Mackall
  0 siblings, 2 replies; 17+ messages in thread
From: Maneesh Soni @ 2004-03-18  6:33 UTC (permalink / raw)
  To: Al Viro
  Cc: LKML, Greg KH, Dipankar Sarma, Carsten Otte,
	Christian Borntraeger, Martin J. Bligh, Matt Mackall

Hi,

Please find the following patch set for sysfs backing store. Thanks to Carsten 
Otte and S390 Linux guys for reporting the bug while unloading zfcp driver. 

Please see the previous posting for more details and numbers
http://marc.theaimsgroup.com/?l=linux-kernel&m=107589464818859&w=2

Changes in Version 0.3
----------------------
o Fixed dentry ref counting for un-named attribute groups. Because of this
  zfcp driver was not getting unloaded waiting for the dentry ref. count to
  go away.

Details of code changes are mentioned in the respective patches. Patch set
is against 2.6.5-rc1. 

Al, it will be great help if you can spare some time in reviewing this.

Thanks
Maneesh

-- 
Maneesh Soni
Linux Technology Center, 
IBM Software Lab, Bangalore, India
email: maneesh@in.ibm.com
Phone: 91-80-25044999 Fax: 91-80-25268553
T/L : 9243696

^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: [RFC 2/6] sysfs backing store v0.3a
@ 2004-03-24 13:44 Martin Schwidefsky
  0 siblings, 0 replies; 17+ messages in thread
From: Martin Schwidefsky @ 2004-03-24 13:44 UTC (permalink / raw)
  To: maneesh
  Cc: mpm, viro, linux-kernel, greg, Dipankar Sarma - LTC,
	Carsten Otte, Christian Borntraeger, mjbligh





Maneesh Soni wrote:
> Please find the following patch (2/6) for sysfs backing store. This fixes
> a leak observed in case of sysfs_readdir() for _big_ sysfs directories. The
> dentries were not getting released in case of error return from filldir()
> in sysfs_readdir().
>
> Thanks again to Christian Borntraeger (S390 Linux) for spotting this and testing
> the fix.

yes, Christian tested this again and it works great now. For his setup (which we
do not consider to be unusual) this patches saved about 50 MB of main memory. The
particular machine has about 1600 disk devices attached to it. This happens if the
i/o configuration doesn't restrict an lpar to the devices it should use but allows
the lpar to "see" all the device there are. Even a middle sized storage subsystem
can have a lot of disks, the ESS Christian used had 1600 disks. Now you might
argue a system that big should have enough memory for the syfs inodes. Its just
lousy 50 MB but given that there can be LOTS of system images I'd rather have the
50 MB then to waste then on the sysfs entries for unused disks.
I'm definitly much in favor of this patch.

blue skies,
   Martin

Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH
Schönaicherstr. 220, D-71032 Böblingen, Telefon: 49 - (0)7031 - 16-2247
E-Mail: schwidefsky@de.ibm.com



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2004-03-24 13:59 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-18  6:33 [RFC 0/6] sysfs backing store v0.3 Maneesh Soni
2004-03-18  6:33 ` [RFC 1/6] " Maneesh Soni
2004-03-18  6:34   ` [RFC 2/6] " Maneesh Soni
2004-03-18  6:34     ` [RFC 3/6] " Maneesh Soni
2004-03-18  6:35       ` [RFC 4/6] " Maneesh Soni
2004-03-18  6:35         ` [RFC 5/6] " Maneesh Soni
2004-03-18  6:36           ` [RFC 6/6] " Maneesh Soni
2004-03-20 17:57 ` [RFC 0/6] " Matt Mackall
2004-03-22  6:28   ` Maneesh Soni
2004-03-22  6:30     ` [RFC 1/6] " Maneesh Soni
2004-03-22  6:30       ` [RFC 2/6] " Maneesh Soni
2004-03-22  6:30         ` [RFC 3/6] " Maneesh Soni
2004-03-22  6:31           ` [RFC 4/6] " Maneesh Soni
2004-03-22  6:31             ` [RFC 5/6] " Maneesh Soni
2004-03-22  6:32               ` [RFC 6/6] " Maneesh Soni
2004-03-24 10:45         ` [RFC 2/6] sysfs backing store v0.3a Maneesh Soni
2004-03-24 13:44 Martin Schwidefsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome