https://github.com/torvalds/linux
Raw File
Tip revision: 07d9a380680d1c0eb51ef87ff2eab5c994949e69 authored by Linus Torvalds on 24 October 2016, 00:10:14 UTC
Linux 4.9-rc2
Tip revision: 07d9a38
migrate_mode.h
#ifndef MIGRATE_MODE_H_INCLUDED
#define MIGRATE_MODE_H_INCLUDED
/*
 * MIGRATE_ASYNC means never block
 * MIGRATE_SYNC_LIGHT in the current implementation means to allow blocking
 *	on most operations but not ->writepage as the potential stall time
 *	is too significant
 * MIGRATE_SYNC will block when migrating pages
 */
enum migrate_mode {
	MIGRATE_ASYNC,
	MIGRATE_SYNC_LIGHT,
	MIGRATE_SYNC,
};

#endif		/* MIGRATE_MODE_H_INCLUDED */
back to top