[PATCH] use the queue congestion API in ext2_preread_inode()
Use the new queue congestion detector in ext2_preread_inode(). Don't try the speculative read if the read queue is congested. Also, don't try it if the disk is write-congested. Presumably it is more important to get the dirty memory cleaned out.
Showing
Please register or sign in to comment