From e45635ccc6445e19ca197853ea9ec555ec5ca25a Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Fri, 25 Jul 2003 00:39:23 -0700 Subject: [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. --- include/linux/sched.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux/sched.h') 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); -- cgit v1.2.3