From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Emelyanov Subject: Re: [patch 1/7] procfs: Add ability to plug in auxiliary fdinfo providers Date: Thu, 15 Nov 2012 17:47:37 +0400 Message-ID: <50A4F279.70500@parallels.com> References: <20121114151937.344922058@openvz.org> <20121114152239.413767763@openvz.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Alexey Dobriyan , James Bottomley , Matthew Helsley , aneesh.kumar@linux.vnet.ibm.com, bfields@fieldses.org, oleg@redhat.com, rientjes@google.com, tvrtko.ursulin@onelan.co.uk, Andrey Vagin To: Cyrill Gorcunov , Al Viro , Andrew Morton Return-path: In-Reply-To: <20121114152239.413767763@openvz.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org > This patch brings ability to print out auxiliary data associated > with file in procfs interface /proc/pid/fdinfo/fd. > > In particular further patches make eventfd, evenpoll, signalfd > and fsnotify to print additional information complete enough > to restore these objects after checkpoint. > > To simplify the code we add show_fdinfo callback inside > struct file_operations (as Al and Pavel are proposing). > > Signed-off-by: Cyrill Gorcunov > CC: Pavel Emelyanov > CC: Oleg Nesterov > CC: Andrey Vagin > CC: Al Viro > CC: Alexey Dobriyan > CC: Andrew Morton > CC: James Bottomley > CC: "Aneesh Kumar K.V" > CC: Alexey Dobriyan > CC: Matthew Helsley > CC: "J. Bruce Fields" > CC: "Aneesh Kumar K.V" > CC: Tvrtko Ursulin > --- > fs/proc/fd.c | 2 ++ > include/linux/fs.h | 4 ++-- > 2 files changed, 4 insertions(+), 2 deletions(-) Acked-by: Pavel Emelyanov