submit_bio() flush to disk immediately
Prashant Shah
pshah.mumbai at gmail.com
Tue Aug 6 07:29:43 EDT 2013
Hi,
On Tue, Aug 6, 2013 at 4:40 PM, Rajat Sharma <fs.rajat at gmail.com> wrote:
>> I stumbled upon invalidate_inode_pages() - testing it right now.
>>
>
> At the same time, following proc interface, I stumbled upon
> invalidate_mapping_pages() to purge cache of desired inode. Try this
> one if invalidate_inode_pages() does not work.
>
Tried invalidate_inode_pages() and it works. Also,
invalidate_inode_pages() internally calls invalidate_inode_pages() so
both should work :)
Problem solved. Thanks.
Regards.
More information about the Kernelnewbies
mailing list