FSCTL_LOCK_VOLUME slow under W2K

FSCTL_LOCK_VOLUME is taking 5-10 seconds when called from user-mode under
Windows 2000. Is this expected or am I doing something wrong?

2nd question: if it really does take that long, is there a quick way from
user-mode to determine if a volume has handles open?

thanks, russ

It really does take that long if there is a lot of dirty data - lock is
also a request to flush/purge all streams. However, it will fail fast if
there are still handles - long failure should be rare.

-----Original Message-----
From: xxxxx@powerquest.com [mailto:xxxxx@powerquest.com]
Sent: Friday, July 21, 2000 8:12 AM
To: File Systems Developers
Subject: [ntfsd] FSCTL_LOCK_VOLUME slow under W2K

FSCTL_LOCK_VOLUME is taking 5-10 seconds when called from user-mode
under
Windows 2000. Is this expected or am I doing something wrong?

2nd question: if it really does take that long, is there a quick way
from
user-mode to determine if a volume has handles open?

thanks, russ


You are currently subscribed to ntfsd as: xxxxx@exchange.microsoft.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)