submit_bio() flush to disk immediately
Prashant Shah
pshah.mumbai at gmail.com
Tue Aug 6 03:50:44 EDT 2013
Hi,
On Tue, Aug 6, 2013 at 1:15 PM, Rajat Sharma <fs.rajat at gmail.com> wrote:
> How are you reading and writing? What is your test utility? 'dd' has
> an option to specify iflag/oflag=direct, which would bypass buffer
> cache. But anyways this problem should not happen even if data is
> written to cache, you should read it back from cache.
I am using cat command. Its a block that belongs to a file and I am
directly writing to the block. On reading the file I am getting stale
data.
Regards.
More information about the Kernelnewbies
mailing list