Re: [PATCH 2/6] mm: migrate: Lock buffers before migrate_page_move_mapping()

Mel Gorman
2018-12-13T14:19:31Z

On Tue, Dec 11, 2018 at 06:21:39PM +0100, Jan Kara wrote:
> Lock buffers before calling into migrate_page_move_mapping() so that
> that function doesn't have to know about buffers (which is somewhat
> unexpected anyway) and all the buffer head logic is in
> buffer_migrate_page().
>
> Signed-off-by: Jan Kara <jack@suse.cz>

This is a much nicer flow.

Acked-by: Mel Gorman <mgorman@suse.de>

--
Mel Gorman
SUSE Labs