public inbox for linux-bcache@vger.kernel.org
 help / color / mirror / Atom feed
* Allow separation of sequential_cutoff
@ 2014-07-16 12:19 Hannes Tismer
  2014-07-16 16:19 ` Larkin Lowrey
  0 siblings, 1 reply; 4+ messages in thread
From: Hannes Tismer @ 2014-07-16 12:19 UTC (permalink / raw)
  To: linux-bcache; +Cc: mail

Dear bcache-developers,

This is a feature request for a very specific use case:

Having a caching device in front of an md-raid on a machine which  
serves as a low power media server.

The last writes could be cached on the caching device to reduce the  
non-sleep time of the raid (drives in spindown state) while playing  
media, together with a huge writeback delay of, let's say, 3 hours,
newest media would always be read from the caching device.

It's not likely that a recently read (watched) media file will be read  
again after having been read before (very recently), but it's very  
likely that it'll be read once after it was written.

I could disable sequential_cutoff or set it rediculously high. That  
would result in every sequential read being cached into the caching  
device, too, which in this use case is not wanted.

Could you split up the sequential_cutoff setting to  
sequential_read_cutoff and sequential_write_cutoff?

That way writes including sequential ones can be cached for later, but  
sequential reads could be ignored by the cache.


Thank you in advance

Hannes
-- 
Hannes Tismer
Herzogstr. 4
41238 Mönchengladbach

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

end of thread, other threads:[~2014-07-18  6:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-16 12:19 Allow separation of sequential_cutoff Hannes Tismer
2014-07-16 16:19 ` Larkin Lowrey
2014-07-16 18:30   ` Hannes Tismer
2014-07-18  6:42     ` Jianjian Huo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox