Hi Jeff, Jeff Layton : > On Thu, 14 Jan 2010 17:41:13 +0800 > Mi Jinlong <mijinlong@xxxxxxxxxxxxxx> wrote: > >>> IOW, "you're doing it wrong". If you want locks to be reclaimed then >>> you probably need to restart the nfslock service too. >>> >> Don't you think it's more reasonable that locks should be recovered >> when nfs restart cause lockd restart? >> > > Sure, that's the idea. That said, I'm leery of trying to make this too > automatic. Extra complexity in this sort of thing often means that we > get emergent behaviors from the system that we don't expect. I'm not > sure that risk is worth it to guard against admins restarting lockd > like this without forcing notifications to be sent. > IMO, when lockd restart without statd restart, lockd should recovered those locks. If the NFSv3's designers think it's not needed when the design it, we would respect theirs idea at first. But, I think this is indeed a problem! -- Regards Mi Jinlong -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html