Re: submit_bio() flush to disk immediately

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Tue, Aug 6, 2013 at 4:33 PM, Rajat Sharma <fs.rajat@xxxxxxxxx> wrote:

> so has penalty on all files and hence applications. Are you okay with
> it? You need it just for one file. purge cache of just one file from
> your module. Also there could be open file mappings, you might have to
> wait for them to close first.

Its ok, the writes happens early on before the shell is started so
there are no applications using the file.

I stumbled upon invalidate_inode_pages() - testing it right now.

Regards.

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux