All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Hills <mark-UrrBsZIrrsb10XsdtD+oqA@public.gmane.org>
To: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: SSD cache with regular partition, like BSD swapcache
Date: Thu, 15 Aug 2013 22:11:10 +0100 (BST)	[thread overview]
Message-ID: <alpine.LNX.2.01.1308152103410.24372@localhost> (raw)

For some time I've been hoping to use SSD caching, but cannot reasonably 
accomodate the superblock and new partition format.

Hence, looking for a non-writeback SSD cache which can be transparently 
added and removed from the system.

Of course it's at the expense of losing the cache content each time the 
cache is attached -- but for many useful cases and workloads this is 
absolutely ok, eg. workstations (using suspend-RAM) or full-time servers.

Doesn't look like it's possible from the docs; has there been any work on 
this -- a different 'glue' or front end?

IIRC the first public announcement of bcache did something similar -- 
hooked into the system by re-routing the I/O requests to a specific disk.

Tho I did not test it, it looks like DragonFly BSD has what I'm looking 
for, as part of its "swapcache" feature -- looks very easy to set up:

  http://www.dragonflybsd.org/docs/howtos/swapcache/

Thanks

-- 
Mark

             reply	other threads:[~2013-08-15 21:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-15 21:11 Mark Hills [this message]
2013-08-15 22:50 ` SSD cache with regular partition, like BSD swapcache Adam Brenner
     [not found]   ` <CAO9TOLd203JdTN1w3kAf25PC1xKqamkSkfbnG3T8L7cHmr+NkQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-08-16 17:41     ` Mark Hills

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LNX.2.01.1308152103410.24372@localhost \
    --to=mark-urrbszirrsb10xsdtd+oqa@public.gmane.org \
    --cc=linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.