extents changed when after “btrfs_truncate”

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi
 when I write a file (file size:13K) to a disk covered by btrfs,there is only ONE extent to maitain the file in Btrfs.
After I use "btrfs_truncate" to truncate the file to 13K ,the number of extents change to be TWO,and the content of the end 1K is overed by Zero。
  Is there someting worked to change the extents in "btrfs_truncate"?
  Is taht a bug or you designed to do that changes ?
  wish your reply....
  thanks 
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux