Re: [PATCH] Btrfs: drop dir i_size when adding new names on replay

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

 



On Wed, Sep 11, 2013 at 02:18:57PM -0400, Josef Bacik wrote:
> So if we have dir_index items in the log that means we also have the inode item
> as well, which means that the inode's i_size is correct.  However when we
> process dir_index'es we call btrfs_add_link() which will increase the
> directory's i_size for the new entry.  So to fix this just drop the name len
> size before we call btrfs_add_link() so the i_size ends out properly.  Thanks,
> 

Ignore this, it isn't quite right.  Thanks,

Josef
--
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