Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2008 21:19:35 +0200
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-geom@freebsd.org
Subject:   Re: Can GEOM be used to intercept the I/o calls to an existing   mounted device?
Message-ID:  <g55nc9$art$1@ger.gmane.org>
In-Reply-To: <482257ad0807100655u1a5c660awfad05564e40e9a95@mail.gmail.com>
References:  <482257ad0807100541s2d2c3d1eo6cd57c3a1bc338d1@mail.gmail.com>	<200807102309.03191.mark@legios.org> <482257ad0807100655u1a5c660awfad05564e40e9a95@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Tapan Chaudhari wrote:

> Can't I do it on the fly while the device is already mounted? I just want
> that all the calls going to the device "/dev/md0s1" first come to me and
> then it goes to the original device. In short intercepting the i/o calls. Is
> there some way I can achieve this?

It would be very nice if GEOM could do this, since it would then 
trivially allow things like data replication, log/rollback, etc. but it 
doesn't work like that. In short, no, you cannot listen to IO between 
providers.

(not that it isn't possible to do at all, it just isn't implemented).


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIdmDIldnAQVacBcgRAqr9AJ9vAhSfb6e2a29Y4NxAn2QNWRTRpACg8Ht7
z86ZtogEdVF0NwgAb0JoHC8=
=M/JJ
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?g55nc9$art$1>