understanding why writes get priority over other operations

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

 



Hi folks,

I'm trying to look for an explanation of if this is true and if so why
writes gets priority over other operations (like reads)?

I see in the code in write.c if FLUSH_HIGHPRI is set in flags then
we'll have an RPC marked with high priority. The problem is I don't
see anything setting FLUSH_HIGHPRI. I see that writes are written with
either FLUSH_STABLE or FLUSH_COND_STABLE (or no flags). Basically I
can't see how FLUSH_HIGHPRI is used.

If it's not used, then question: does the NFS layer ever priorities
writes over other operations? If NFS doesn't then prioritization must
be coming from the VM system I'm thinking.

Thank you.



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux