]> git.baikalelectronics.ru Git - kernel.git/commit
fs/aio: Add support to aio ring pages migration
authorGu Zheng <guz.fnst@cn.fujitsu.com>
Tue, 16 Jul 2013 09:56:16 +0000 (17:56 +0800)
committerBenjamin LaHaise <bcrl@kvack.org>
Tue, 16 Jul 2013 13:32:18 +0000 (09:32 -0400)
commit46ed0df7c6f46f6f067a2d4cf2d332c4e497f654
treedc441c213b61e83416f77400cb0492b09d2dbf7a
parentc06ef7b9ddb1621fc24ea235b6c37028d161b5ee
fs/aio: Add support to aio ring pages migration

As the aio job will pin the ring pages, that will lead to mem migrated
failed. In order to fix this problem we use an anon inode to manage the aio ring
pages, and  setup the migratepage callback in the anon inode's address space, so
that when mem migrating the aio ring pages will be moved to other mem node safely.

Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Benjamin LaHaise <bcrl@kvack.org>
fs/aio.c
include/linux/migrate.h
mm/migrate.c