User: Password:
|
|
Subscribe / Log in / New account

FLASH drives do need a scheduler policy

FLASH drives do need a scheduler policy

Posted Oct 1, 2004 1:50 UTC (Fri) by BrucePerens (guest, #2510)
In reply to: FLASH drives do need a scheduler policy by corbet
Parent article: Modular, switchable I/O schedulers

Ah, but decisions like "don't sync the superblock and metadata too often" are not block-level issues, and thus have nothing to do with the I/O scheduler.

Jon,

I understand that to the I/O scheduler, a block is just a block. But I feel that the filesystem should be a higher layer than whatever understands the time constraints of the media. What is necessary is for the filesystem to communicate to the lower levels when order is important. If the I/O scheduler knows that there are 100 blocks that should not go out to the stick without changing the superblock and the directory at the same time, it can handle I/O buffering for USB sticks sensibly. This is why now that we are getting versatile I/O scheduling, some sort of tagged-queueing-like scheme will now become important in the filesystem layer.

Thanks

Bruce


(Log in to post comments)


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds