Messages in this thread | | | Date | Thu, 17 May 2012 20:32:04 +0400 | From | Pavel Emelyanov <> | Subject | Re: [rfc 2/4] procfs: Convert /proc/pid/fdinfo/fd handling routines into seq-file with fdinfo helpers |
| |
On 05/17/2012 08:07 PM, Cyrill Gorcunov wrote: > This patch converts /proc/pid/fdinfo/fd handling routines to seq-files with > ability to plug in additional fdinfo helpers from other subsystems. > > For example files created in eventfd/eventpoll/inotify subsystems might print > out additional information, not just file position and flags. > > Still if there no fdinfo helpers registered then the output is well known > pos, flags pair. > > Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
I would split this into two parts -- the 1st one turns fdinfo into seq-files and the 2nd one adds the fdinfo helpers. This will make the review MUCH simpler.
Thanks, Pavel
| |