Re: [PATCH] Btrfs: Force stripesize to the value of sectorsize

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

 



On Thu, Jun 23, 2016 at 03:16:44PM +0530, Chandan Rajendra wrote:
> Btrfs code currently assumes stripesize to be same as
> sectorsize. However Btrfs-progs (until commit
> df05c7ed455f519e6e15e46196392e4757257305) has been setting
> btrfs_super_block->stripesize to a value of 4096.
> 
> This commit makes sure that the value of btrfs_super_block->stripesize
> is a power of 2. Later, it unconditionally sets btrfs_root->stripesize
> to sectorsize.
> 
> Signed-off-by: Chandan Rajendra <chandan@xxxxxxxxxxxxxxxxxx>

Reviewed-by: David Sterba <dsterba@xxxxxxxx>
--
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