All of lore.kernel.org
 help / color / mirror / Atom feed
* corrupted file size on inline extent conversion?
@ 2013-01-29  0:12 Sage Weil
  2013-01-29 14:54 ` Josef Bacik
  0 siblings, 1 reply; 7+ messages in thread
From: Sage Weil @ 2013-01-29  0:12 UTC (permalink / raw)
  To: linux-btrfs; +Cc: j.michael.lowe, billk

A ceph user observed a incorrect i_size on btrfs.  The pattern looks like 
this:

- some writes at low file offsets
- a write to 4185600 len 8704 (i_size should be 4MB)
- more writes to low offsets
- a write to 4181504 len 4096 (abutts the write above)
- a bit of time goes by...
- stat returns 4186112 (4MB - 8192)
 - that's a fwe bytes to the right of the top write above.

There are some logs showing the full read/write activity to the file at

	http://tracker.newdream.net/attachments/658/object_log.txt

on issue

	http://tracker.newdream.net/issues/3810

The kernel was 3.7.0-030700-generic (and probably also observed on 3.7.1).

Is this a known bug?

Thanks!
sage


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-02-05  0:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-29  0:12 corrupted file size on inline extent conversion? Sage Weil
2013-01-29 14:54 ` Josef Bacik
2013-01-30 18:17   ` Mike Lowe
2013-01-30 18:22     ` Josef Bacik
2013-01-30 18:30       ` Mike Lowe
2013-01-30 19:09         ` Josef Bacik
2013-02-05  0:04           ` Sage Weil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.