linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* dummy file read periodically for external USB Hard Disk
@ 2014-07-07 14:42 loody
  2014-07-08  3:01 ` NeilBrown
  0 siblings, 1 reply; 13+ messages in thread
From: loody @ 2014-07-07 14:42 UTC (permalink / raw)
  To: Linux-FSDevel

hi all:
    we met a USB Hard Disk that will go to suspend if host stop
sending scsi read command over 5mins.
    To save the IO, kernel will keep the file in page cache as much as
he can and under this circumstances, the read command may disappear
for a while longer enough to cause the device suspend.

    is there any kernel config or module parameter can do the dummy
read periodically, even the sector 0 (MBR) is fine.
    or is there any kernel api I can use to read sector 0(MBR) maybe
every 4mins?

appreciate your help in advance,

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2014-07-19 21:19 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-07 14:42 dummy file read periodically for external USB Hard Disk loody
2014-07-08  3:01 ` NeilBrown
2014-07-08  3:17   ` Dave Jones
2014-07-08 15:00   ` loody
2014-07-09 14:13   ` loody
2014-07-10  0:47     ` NeilBrown
2014-07-11  9:04       ` loody
2014-07-12  3:01         ` Randy Dunlap
2014-07-18 17:31           ` loody
2014-07-18 18:13             ` Randy Dunlap
2014-07-19 10:59               ` loody
2014-07-19 11:02               ` loody
2014-07-19 21:19                 ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).