Messages in this thread | | | Date | Tue, 04 May 2004 19:45:49 +0100 | From | Paulo Marques <> | Subject | Re: Read from file fails |
| |
Libor Vanek wrote:
> Using kernel module: > - user space process wants to change some file which is in "snapshoted" dir > - my module catches this request, holds it, creates copy of original file and allows original request to proceed
Did you take a look at LVM snapshots?
http://tldp.org/HOWTO/LVM-HOWTO/snapshotintro.html
Maybe your problem is already solved...
Anyway, you really shouldn't worry about the time it takes to make a context switch when you want to copy a file on modify ;)
-- Paulo Marques - www.grupopie.com "In a world without walls and fences who needs windows and gates?"
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |