From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f197.google.com (mail-pf0-f197.google.com [209.85.192.197]) by kanga.kvack.org (Postfix) with ESMTP id 918226B0038 for ; Mon, 18 Sep 2017 03:52:13 -0400 (EDT) Received: by mail-pf0-f197.google.com with SMTP id q75so14355337pfl.1 for ; Mon, 18 Sep 2017 00:52:13 -0700 (PDT) Received: from mx1.suse.de (mx2.suse.de. [195.135.220.15]) by mx.google.com with ESMTPS id h6si4323628pgs.436.2017.09.18.00.52.12 for (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 18 Sep 2017 00:52:12 -0700 (PDT) Date: Mon, 18 Sep 2017 09:52:07 +0200 From: Jan Kara Subject: Re: [f2fs-dev] [PATCH 07/15] f2fs: Use find_get_pages_tag() for looking up single page Message-ID: <20170918075207.GA32516@quack2.suse.cz> References: <20170914131819.26266-1-jack@suse.cz> <20170914131819.26266-8-jack@suse.cz> <2cd84505-3d52-61dc-4a8d-099a58467cc1@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2cd84505-3d52-61dc-4a8d-099a58467cc1@kernel.org> Sender: owner-linux-mm@kvack.org List-ID: To: Chao Yu Cc: Jan Kara , linux-mm@kvack.org, linux-f2fs-devel@lists.sourceforge.net, "Yan, Zheng" , linux-fsdevel@vger.kernel.org, Jaegeuk Kim , ceph-devel@vger.kernel.org, Ilya Dryomov On Fri 15-09-17 21:43:03, Chao Yu wrote: > On 2017/9/14 21:18, Jan Kara wrote: > > __get_first_dirty_index() wants to lookup only the first dirty page > > after given index. There's no point in using pagevec_lookup_tag() for > > that. Just use find_get_pages_tag() directly. > > > > CC: Jaegeuk Kim > > CC: linux-f2fs-devel@lists.sourceforge.net > > Signed-off-by: Jan Kara > > Reviewed-by: Chao Yu Thanks for the review! Honza -- Jan Kara SUSE Labs, CR -- 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