Re: [ext3] Changes to block device after an ext3 mount point has been remounted readonly

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jan Kara
Date: Monday, February 22, 2010 - 3:32 pm

> On Thu, Feb 18, 2010 at 10:41 PM, Andreas Dilger <adilger@sun.com> wrote:
  I've looked at your script. The problem is that "echo s >/proc/sysrq_trigger"
isn't really a data integrity operation. In particular it does not wait on
IO to finish (with the new writeback code it does not even wait for IO to be
submitted) so you sometimes take the image checksum before the sync actually
happens. If you used sync(1) instead, everything should work as expected...

								Honza
-- 
Jan Kara <jack@suse.cz>
SuSE CR Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [ext3] Changes to block device after an ext3 mount poi ..., Camille Moncelier, (Fri Feb 19, 12:38 am)
Re: [ext3] Changes to block device after an ext3 mount poi ..., Jan Kara, (Mon Feb 22, 3:32 pm)
Re: [ext3] Changes to block device after an ext3 mount poi ..., Camille Moncelier, (Tue Feb 23, 1:42 am)
Re: [ext3] Changes to block device after an ext3 mount poi ..., Camille Moncelier, (Wed Feb 24, 9:26 am)