On Thu, Jan 20, 2011 at 1:28 PM, Sage Weil <sage@xxxxxxxxxxxx> wrote: > On Thu, 20 Jan 2011, Brian Chrisman wrote: >> I've performed some simple testing of sparse files on ceph. Summary, >> ceph reports full file size to 'du' and 'ls', where it should return >> actual storage usage to 'du'. Creating a sparse file on ceph does not >> actually use the full file size in storage (which is correct >> behavior). Is this a known issue, or should I submit a bug? > > This is a design choice. The MDS doesn't know how many blocks are > allocated because, with the exception of reporting st_blocks to du, it > doesn't need to. This makes metadata smaller and the protocols simpler. > > sage Ahh ok, understood. -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html