mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 11:49:32 +00:00
17 lines
436 B
C
17 lines
436 B
C
![]() |
#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 */
|