From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1767853Ab2KONtp (ORCPT ); Thu, 15 Nov 2012 08:49:45 -0500 Received: from mailhub.sw.ru ([195.214.232.25]:46664 "EHLO relay.sw.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1767793Ab2KONtn (ORCPT ); Thu, 15 Nov 2012 08:49:43 -0500 Message-ID: <50A4F279.70500@parallels.com> Date: Thu, 15 Nov 2012 17:47:37 +0400 From: Pavel Emelyanov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: Cyrill Gorcunov , Al Viro , Andrew Morton 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 Subject: Re: [patch 1/7] procfs: Add ability to plug in auxiliary fdinfo providers References: <20121114151937.344922058@openvz.org> <20121114152239.413767763@openvz.org> In-Reply-To: <20121114152239.413767763@openvz.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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