On Mon, 5 Nov 2007 18:45:58 +0800
"Yan Zheng" <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> When calculating the size of inline extent,  inode->i_size should also
> be take into consideration, otherwise sys_write may drop some data
> silently.  You can test this bug by:
> 
> #dd if=/dev/zero bs=4k count=1 of=test_file
> #dd if=/dev/zero bs=2k count=1 of=test_file conv=notrunc
> 
> Previous patch is included in this one, please ignore it.

Good catch, thanks.

I've got all your patches queued up here, I'll push out once I fix a
nagging loop during defrag.

-chris

_______________________________________________
Btrfs-devel mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/btrfs-devel

Reply via email to