diff options
Diffstat (limited to 'http_dav.c')
-rw-r--r-- | http_dav.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -24,6 +24,8 @@ void mog_http_delete(struct mog_fd *mfd, char *buf) assert(path[0] == '/' && "bad path"); if (path[1] == '\0') goto forbidden; + TRACE(CMOGSTORED_HTTP_REQ_START(mfd->fd, "DELETE", path)); + rc = mog_unlink(http->svc, path); if (rc == 0) { mog_http_resp(mfd, "204 No Content", true); @@ -58,6 +60,12 @@ void mog_http_mkcol(struct mog_fd *mfd, char *buf) path = mog_http_path(http, buf); /* + * This can be useful for making sure the skip_mkcol server setting + * is enabled in the tracker/database to avoid latency + */ + TRACE(CMOGSTORED_HTTP_REQ_START(mfd->fd, "MKCOL", path)); + + /* * Do not do anything on MKCOL and rely on PUT to create * directories. This stops MogileFS trackers from trying * (expensive) MKCOL requests. Perlbal/mogstored also does |