On Thu, Dec 31, 2009 at 10:53:43AM +0800, Wu Fengguang wrote: > So how about add a FMODE_HINT_RANDOM_READ bit to file->f_mode? > Modifying it at fadvise() time at least won't disturb the existing > open-time-modify-only f_mode bits.. Ah it seems file->f_flags (modified under f_lock) is ideal candidate :) Thanks, Fengguang -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html