[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]