<html><body><div style="font-family: lucida console,sans-serif; font-size: 12pt; color: #000000"><div>Hi Shishir,<br></div><div><br></div><div>Great to see this being progressed!<br></div><div><br></div><div>Would it make sense to compare the checksums for a file across replica's too? ie. in a replicated volume, one the local checksum compare is complete, compare the checksum against the file's replica on another brick node. This would account for 'funnies' in the data path during the write phase introducing corruption.<br></div><div><br></div><div>Cheers,<br></div><div><br></div><div>Paul C<br><br></div><div><br></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"shishir gowda" &lt;gowda.shishir@gmail.com&gt;<br><b>To: </b>gluster-devel@nongnu.org<br><b>Sent: </b>Tuesday, 24 December, 2013 8:35:08 PM<br><b>Subject: </b>[Gluster-devel] bit rot support for glusterfs<br><div><br></div>Hi All,<br><div><br></div>I will be starting to work on bit rot detection for glusterfs.<br><div><br></div>This work will be primarily based on Doug Willam's prototype<br>(https://github.com/williamsdoug/glusterfs_bitrot_proto).<br><div><br></div>The existing design can be found @<br>http://gluster.org/community/documentation/index.php/Arch/BitRot_Detection#Current_Prototype<br><div><br></div>Few design updates:<br><div><br></div>1. Depend on change-log to recompute checksum. This eliminates<br>periodic crawl of brick/volume to update the checksum.<br><div><br></div>2. Policy to determine when checksum to recomputed. If a file is under<br>going active I/O, then compute checksum only after a delay<br><div><br></div>3. Ability to turn off/on bit rot detection in volumes.<br><div><br></div>4. If bit rot is turned on for a volume, a crawl would be necessary in<br>this case to compute checksum.<br><div><br></div>This just a initial draft, and will update the design doc, and the thread soon.<br><div><br></div>Please feel free to comment.<br><div><br></div>With regards,<br>Shishir<br><div><br></div>_______________________________________________<br>Gluster-devel mailing list<br>Gluster-devel@nongnu.org<br>https://lists.nongnu.org/mailman/listinfo/gluster-devel<br></blockquote><div><br></div></div></body></html>