From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx167.postini.com [74.125.245.167]) by kanga.kvack.org (Postfix) with SMTP id 6F7386B0032 for ; Tue, 16 Jul 2013 19:10:34 -0400 (EDT) From: "Kirill A. Shutemov" In-Reply-To: <20130716191010.GC4855@linux.intel.com> References: <1373885274-25249-1-git-send-email-kirill.shutemov@linux.intel.com> <1373885274-25249-2-git-send-email-kirill.shutemov@linux.intel.com> <20130716191010.GC4855@linux.intel.com> Subject: Re: [PATCH 1/8] mm: drop actor argument of do_generic_file_read() Content-Transfer-Encoding: 7bit Message-Id: <20130716231327.36ED0E0090@blue.fi.intel.com> Date: Wed, 17 Jul 2013 02:13:27 +0300 (EEST) Sender: owner-linux-mm@kvack.org List-ID: To: Matthew Wilcox , Andreas Dilger , Peng Tao , Oleg Drokin Cc: "Kirill A. Shutemov" , Andrea Arcangeli , Andrew Morton , Al Viro , Hugh Dickins , Wu Fengguang , Jan Kara , Mel Gorman , linux-mm@kvack.org, Andi Kleen , "Kirill A. Shutemov" , Hillf Danton , Dave Hansen , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Matthew Wilcox wrote: > On Mon, Jul 15, 2013 at 01:47:47PM +0300, Kirill A. Shutemov wrote: > > From: "Kirill A. Shutemov" > > > > There's only one caller of do_generic_file_read() and the only actor is > > file_read_actor(). No reason to have a callback parameter. > > > > Signed-off-by: Kirill A. Shutemov > > Acked-by: Dave Hansen > > Would it make sense to do the same thing to do_shmem_file_read()? > > From: Matthew Wilcox > > There's only one caller of do_shmem_file_read() and the only actor is > file_read_actor(). No reason to have a callback parameter. > > Signed-off-by: Matthew Wilcox Looks good to me: Reviewed-by: Kirill A. Shutemov v3.11-rc1 brings one more user for read_actor_t -- lustre. But it seemes it's artifact of ages when f_op had ->sendfile and it's not in use anymore. -- Kirill A. Shutemov -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org