<div>While the copy operation is in progress, simply unplug the usb device and then replug.</div>
<div>The issue can be seen from XFS (2.6.31) onwards, I am trying to figure out the changes between 2.6.30.9 and 2.6.31.</div>
<div>One thing I noticed is - there is difference in speed for 2 versions - in case of 2.6.30.9 if I remove the USB within &#39;5&#39; seconds - I can see the file being created at the destination and some data written, while in case of 2.6.31(onwards), it takes around 20 seconds to get some data to disk.</div>

<div>I am using MIPS at the moment with VIPT(fixes included)</div>
<div><br>Please let me know if this information is useful.</div>
<div> </div>
<div>Thanks,</div>
<div>Amit Sahrawat<br></div>
<div class="gmail_quote">On Wed, Dec 1, 2010 at 8:25 PM, Eric Sandeen <span dir="ltr">&lt;<a href="mailto:sandeen@sandeen.net">sandeen@sandeen.net</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">On 12/1/10 1:14 AM, Amit Sahrawat wrote:<br>&gt; Dear Member,<br>&gt;<br>&gt; I am getting following corruption on XFS formatted disk during a simple copy operation:<br>&gt; sd 9:0:0:0: Attached scsi removable disk sdc<br>
&gt; sd 9:0:0:0: Attached scsi generic sg2 type 0<br>&gt; XFS mounting filesystem sdc2<br>&gt; Starting XFS recovery on filesystem: sdc2 (logdev: internal)<br>&gt; XFS: xlog_recover_process_data: bad transaction<br>&gt; XFS: log mount/recovery failed: error 5<br>
&gt; XFS: log mount failed<br><br></div>hm, that&#39;s not a simple copy operation, that is a mount failing;<br>your log appears to be corrupted.<br><br>offhand I&#39;m going to blame it on having a write cache enabled<br>
on your drive, and having barriers either off, or not working<br>properly.<br><font color="#888888"><br>-Eric<br><br></font></blockquote></div><br>