Skip to contentSkip to conversation

about lustre lock

Lustre-devel Tonney Kaiven Cheung 2 participants 2 messages Apr 21, 2010 – Apr 22, 2010

lore
Share & tools
lore
#0 lore raw

Dear everyone!

It has been said that Lustre Filesystem has six lock modes. And one of the lock mode is *concurrent write mode*. Would you please give me explanation that in which condition a *concurrent write mode lock* will be asked? Thanks!

Yuksam Cheung
2010-04-21
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-devel-lustre.org/attachments/20100421/bc9fc71a/attachment.htm>

#1 lore raw

hello,

I think this is used in parallel dir operations in 2.0 branch. In this case we allow multiple threads to modify the same dir if entries fall into different physical blocks (and take care about locking on lower layers in MDS if entries come to the same block). But as this is a dir modification operation, we want to let clients know about this, so that they can flush their dentry cache.

Thanks.

2010/4/21 Tonney Kaiven Cheung <[email protected]>

Quoted 16 lines

Dear everyone!

It has been said that Lustre Filesystem has six lock modes. And one of the lock mode is *concurrent write mode*. Would you please give me explanation that in which condition a *concurrent write mode lock* will be asked? Thanks!

Yuksam Cheung
2010-04-21

_______________________________________________
Lustre-devel mailing list
Lustre-devel at lists.lustre.org
http://lists.lustre.org/mailman/listinfo/lustre-devel

Signature · 4 lines
umka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-devel-lustre.org/attachments/20100422/183de366/attachment.htm>