Re: [ckrm-tech] [PATCH 0/5] Allow more than PAGESIZE data read in configfs

From: Joel Becker
Date: Mon Oct 16 2006 - 19:08:30 EST


On Mon, Oct 16, 2006 at 12:33:41PM -0700, Chandra Seetharaman wrote:
> >From what I see, sysfs also has the PAGESIZE limitation. If that _is_
> the case, then moving to sysfs does not help us any. Correct me if I am
> wrong.
>
> Won't we have the same arguments that we have now ?

If you use a 'struct attribute' in sysfs, sure, you have the
same limit. The difference is that sysfs allows you to install your own
files. So you could create a seq_file of your own and insert it into
your sysfs directory.

Joel

--

"I think it would be a good idea."
- Mahatma Ghandi, when asked what he thought of Western
civilization

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker@xxxxxxxxxx
Phone: (650) 506-8127
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/