<br><br><div class="gmail_quote">On Tue Nov 25 2014 at 2:13:43 PM Jan H Holtzhausen &lt;<a href="mailto:janh@holtztech.info">janh@holtztech.info</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif"><div><div><div>Yes we have deduplication at the filesystem layer</div></div></div></div></blockquote><div><br></div><div>As things stand, it is not possible to achieve what you are looking for with DHT. By using regexes, you can influence the placement of files relative to other filenames *only within the same directory* (thereby making temp file followed by rename inexpensive, etc.)</div><div><br></div><div>What you are looking for requires a major change in DHT - using a single hash layout for all directories and not having a directory-specific component in the hash calculation.</div><div><br></div><div>Thanks,</div><div>Avati</div></div>