Nitin Verma
unread,Jun 30, 2011, 1:31:00 PM6/30/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to XADisk
Hi Tomas,
With 1.1, here is how isolation is implemented during various
operations:
create(F) Exclusive lock on F (F is file or dir)
delete(F) Exclusive lock on F (F is file or dir)
move(F1, F2) Exclusive lock on F1/F2 (F1/F2 are file or dir)
write(F) Exclusive lock on F (F is file)
truncate(F) Exclusive lock on F (F is file)
read(F) Shared lock on F (F is file)
length(F) Shared lock on F (F is file)
exists(F) Shared lock on F (F is file or dir)
copy(F1, F2) Shared F1, Exclusive F2 (F1/F2 are file)
listFiles(D) Incurs No Locking.
Hope that helps.
Thanks,
Nitin