[Lustre-devel] [RFC] parallel enqueue

Alex Zhuravlev Alex.Zhuravlev at Sun.COM
Fri Feb 8 07:31:47 PST 2008


in some cases (truncate, append) we still use serialized enqueue
when all locks have to be enqueued synchronously one by one.

what if we could mark all locks issued by single client with some
unique tag (timestamp + nid?), then enqueue them all and then, in
case of conflict, in blocking ast handler compare tag of conflicting
lock with own tag, cancel our granted locks if our tag is greater
than tag of conflicting lock and enqueue them again?

thanks, Alex

More information about the lustre-devel mailing list