[dm-devel] Re: [PATCH 0/3] freeze feature ver 1.6

Larry Dickson ldickson at cuttedge.com
Wed Jun 25 21:45:55 UTC 2008


Hi all,

I just signed up for dm-devel, so I don't know if this will get posted; but
it looks like this freeze feature may answer a need of mine. Could one of
you tell me if I'm on the right track?

Over an LVM volume is mounted a file system that gets a lot of streaming
writes, and has been set up so that almost all access is sequential, with
data coming out of big FIFO caches. But readers may want access to the
existing files. If too many readers try to access, it will cause lots of
seeks and slow down the write access enough to cause data loss, which is not
OK. I can see this coming by noticing that the FIFOs are filling up.

What I need is to freeze read access when this happens, but permit write
access to continue. Then the seeks stop happening, and the FIFOs drain.
After they have reached a certain point, I unfreeze read access; so the
(probably NFS) readers may see slowness and jerkiness, but their stuff runs.

Can this freeze feature do that? I was thinking of working an XON/XOFF
through the proc file system, and patching in some special code of my own,
but it would be much nicer if it were more standard.

Larry Dickson
Cutting Edge Networked Storage
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20080625/8676803c/attachment.htm>


More information about the dm-devel mailing list