lkml.org 
[lkml]   [2004]   [May]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.119 / U:1.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site