hi,
i have the AUSPEX disk traces (collection of timestamped read/write
request) with me and need to simulate them. however because of caching and
read ahead, very less activity ever reaches the disk and does not
correspond to the usage pattern that i am targetting at.
hence i need to find some mechanism of turning on/off the disk cache. is
there anyway of doing this?
also i would like to collect disk traces before and after the cache
system. for "after cache" i have inserted code in generic_make_request
(ll_rw_blk.c) and seem to get proper traces. however is there any single
point of entry for read/write requests just before they are serviced by
the buffer mechanism where i can insert my trace code for "before
cache" traces i.e. as they are submitted.
please "cc" to me as i'm not on the list.
thanks in advance,
mukesh