Re: mksnap_ffs, snapshot issues, again

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Sat, 23 Aug 2003 11:01:28 +0200
In message <200308230832.h7N8Wcol050681_at_beastie.mckusick.com>, Kirk McKusick writes:

>But, to get to the problem that you are having with accessing your
>filesystem. The problem is that although the filesystem is only
>locked briefly, the snapshot file is locked for the entire 48 minutes.
>Thus, if you touch the snapshot file (by for example doing a "stat"
>on it), then the process doing the stat will hang for 48 minutes.

Isn't there some way we can loosen this aspect up ?

Either by having stat know about it and return approximate info or
simply by failing ? (I pressume that making the sleep interruptible
would break all sorts of standards)


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Sat Aug 23 2003 - 00:01:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:19 UTC