diff options
| author | Jens Axboe <axboe@suse.de> | 2003-07-25 00:39:23 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-07-25 00:39:23 -0700 |
| commit | e45635ccc6445e19ca197853ea9ec555ec5ca25a (patch) | |
| tree | 05ee4c3863df3396148b431ac344a0df5a94dcfb /include/linux/sched.h | |
| parent | fe216eade3c29fe8c0c7cf316b8c7fc1c074861f (diff) | |
[PATCH] read-ahead and failfast
Here's the patch to enable failfast flag in the bio submission code, and
use it for multipath and readahead.
Diffstat (limited to 'include/linux/sched.h')
| -rw-r--r-- | include/linux/sched.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index bf740af246c0..b20db4e5fbfa 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -487,6 +487,7 @@ do { if (atomic_dec_and_test(&(tsk)->usage)) __put_task_struct(tsk); } while(0) #define PF_SWAPOFF 0x00080000 /* I am in swapoff */ #define PF_LESS_THROTTLE 0x01000000 /* Throttle me less: I clena memory */ #define PF_SYNCWRITE 0x00200000 /* I am doing a sync write */ +#define PF_READAHEAD 0x00400000 /* I am doing read-ahead */ #ifdef CONFIG_SMP extern int set_cpus_allowed(task_t *p, unsigned long new_mask); |
