submit_bio() flush to disk immediately

Rajat Sharma fs.rajat at
Tue Aug 6 04:05:39 EDT 2013

On Tue, Aug 6, 2013 at 1:27 PM, Prashant Shah <pshah.mumbai at> wrote:
> Hi,
> On Tue, Aug 6, 2013 at 1:23 PM, Rajat Sharma <fs.rajat at> wrote:
>> Most likely you are getting stale data from filesystem page-cache.
>> Please don't use cat, use dd with iflag/oflag=direct.
> I have no control over how users will read it :(

Why do you want to modify blocks of a file, without filesystem knowing
about it? What are you trying to achieve here?

> Regards

More information about the Kernelnewbies mailing list