httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Fritsch>
Subject dropping inode keyed locks in mod_dav_fs (was: Dav Locks corrupting; need some troubleshooting tools)
Date Sun, 18 Oct 2009 19:50:25 GMT
On Thursday 15 October 2009, Dick Davies wrote:
> In any event, does it made sense to use something other than the
> inode as the key into the lockDB - the URI for example?

Is the performance improvement of inode keyed locking so large that it 
is worth the hassle? If mod_dav_fs used filename keyed locking 
entirely, there would be an easy way to make file replacement by PUT 
atomic (see PR 39815). The current behaviour of deleting the old and 
the new file when the PUT fails is really bad.

View raw message