https://github.com/torvalds/linux
Revision dd5c93111dc9d26e038ac437f7a403d617e82c62 authored by Chandan Rajendra on 16 June 2016, 16:37:58 UTC, committed by David Sterba on 17 June 2016, 16:32:49 UTC
Older btrfs-progs/mkfs.btrfs sets 4096 as the stripesize. Hence
restricting stripesize to be equal to sectorsize would cause super block
validation to return an error on architectures where PAGE_SIZE is not
equal to 4096.

Hence as a workaround, this commit allows stripesize to be set to 4096
bytes.

Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>
Signed-off-by: David Sterba <dsterba@suse.com>
1 parent 89c5a54
History
Tip revision: dd5c93111dc9d26e038ac437f7a403d617e82c62 authored by Chandan Rajendra on 16 June 2016, 16:37:58 UTC
Btrfs: btrfs_check_super_valid: Allow 4096 as stripesize
Tip revision: dd5c931
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitignore -rw-r--r-- 1.2 KB
.mailmap -rw-r--r-- 5.8 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 95.4 KB
Kbuild -rw-r--r-- 2.6 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 344.5 KB
Makefile -rw-r--r-- 55.0 KB
README -rw-r--r-- 18.1 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top