Hannes Tismer
2014-07-16 12:19:29 UTC
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 =20
serves as a low power media server.
The last writes could be cached on the caching device to reduce the =20
non-sleep time of the raid (drives in spindown state) while playing =20
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 =
=20
again after having been read before (very recently), but it's very =20
likely that it'll be read once after it was written.
I could disable sequential_cutoff or set it rediculously high. That =20
would result in every sequential read being cached into the caching =20
device, too, which in this use case is not wanted.
Could you split up the sequential_cutoff setting to =20
sequential_read_cutoff and sequential_write_cutoff?
That way writes including sequential ones can be cached for later, but =
=20
sequential reads could be ignored by the cache.
Thank you in advance
Hannes
--=20
Hannes Tismer
Herzogstr. 4
41238 M=C3=B6nchengladbach
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 =20
serves as a low power media server.
The last writes could be cached on the caching device to reduce the =20
non-sleep time of the raid (drives in spindown state) while playing =20
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 =
=20
again after having been read before (very recently), but it's very =20
likely that it'll be read once after it was written.
I could disable sequential_cutoff or set it rediculously high. That =20
would result in every sequential read being cached into the caching =20
device, too, which in this use case is not wanted.
Could you split up the sequential_cutoff setting to =20
sequential_read_cutoff and sequential_write_cutoff?
That way writes including sequential ones can be cached for later, but =
=20
sequential reads could be ignored by the cache.
Thank you in advance
Hannes
--=20
Hannes Tismer
Herzogstr. 4
41238 M=C3=B6nchengladbach