On Mon, Oct 16, 2006 at 12:24:35PM -0700, Chandra Seetharaman wrote: > On Sat, 2006-10-14 at 13:10 -0700, Joel Becker wrote: > > Issues of PAGE_SIZE and attribute size aside, the patch posted > > was incorrect. While they used seq_file, they implemented it in a > > I do not think it is incorrect. It provides a simplest interface to > configfs's clients.
I understand that it provides a simple sed(1)-based change for existing clients. However, it abuses seq_file in exactly the wrong way. > > completely inefficent fashion, filling the entire buffer in one ->show() > > call rather than letting multiple read(2) calls iterate their list. > > So, are you suggesting that we should provide a generic seq_operations > interface to configfs's clients ? Yes, if we provide a vector type in any way, it should be via seq_operations or something like it. If we're going to use seq_file, we should use it correctly. Joel -- "What no boss of a programmer can ever understand is that a programmer is working when he's staring out of the window" - With apologies to Burton Rascoe Joel Becker Principal Software Developer Oracle E-mail: [EMAIL PROTECTED] Phone: (650) 506-8127 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ ckrm-tech mailing list https://lists.sourceforge.net/lists/listinfo/ckrm-tech