Thread (3 messages) 3 messages, 3 authors, 2011-10-07

Re: [RFC][PATCH 1/2] vfs: allow /proc/pid/maps to return a custom device

From: Mark Fasheh <hidden>
Date: 2011-05-19 20:18:26
Also in: linux-fsdevel

On Sat, May 14, 2011 at 08:06:04PM -0700, Eric W. Biederman wrote:
Mark Fasheh [off-list ref] writes:
quoted
This patch introduces a callback in the super_operations structure,
'get_maps_dev' which is then used by procfs to query which device to return
for reporting in /proc/[PID]/maps.
No.

It may make sense to call the vfs stat method.  But introducing an extra
vfs operations for this seems like a maintenance nightmare.
Yeah I'm not thrilled with the extra method either. My concern with using
->getattr is whether it's too heavy since that implies potential disk /
network i/o.
	--Mark

--
Mark Fasheh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help