On Sat, Jun 03, 2017 at 03:27:45PM +0530, Lakshmipathi.G wrote:
> With larger file system (in this case its 22TB), ext2fs_open() returns
> EXT2_ET_CANT_USE_LEGACY_BITMAPS error message with ext2fs_read_block_bitmap().
>
> To overcome this issue, (a) we need pass EXT2_FLAG_64BITS flag with
> ext2fs_open.
> (b) use 64-bit functions like ext2fs_get_block_bitmap_range2,
> ext2fs_inode_data_blocks2,ext2fs_read_ext_attr2. (c) use 64bit types with
> btrfs_convert_context fields.
>
> bug: https://bugzilla.kernel.org/show_bug.cgi?id=194795
> Signed-off-by: Lakshmipathi.G <[email protected]>
Applied, thanks.
> --- a/convert/common.h
> +++ b/convert/common.h
> @@ -30,10 +30,10 @@ struct btrfs_mkfs_config;
>
> struct btrfs_convert_context {
> u32 blocksize;
> - u32 first_data_block;
> - u32 block_count;
> - u32 inodes_count;
> - u32 free_inodes_count;
> + u64 first_data_block;
> + u64 block_count;
> + u64 inodes_count;
> + u64 free_inodes_count;
I've split this change from the patch as it does not logically belong to
the same patch, altough the change is simple.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html