Skip to contentSkip to conversation

swalloc/allocsize question

DISCUSSION Joe Landman 2 participants 2 messages Aug 3, 2015

lore
Share & tools
lore
#0 lore raw

Hi folks:

I've noticed some "odd" behavior while experimenting with xfs mounts
on relatively recent kernels (3.18 series). Basically, the swalloc,allocsize=x options are being modified to something different. That is:

root@usn-04:~/burn-in/fio# uname -r
3.18.12.scalable
root@usn-04:~/burn-in/fio# mount -o inode64,noatime,nodiratime,swalloc,allocsize=1280k /dev/sda /data/1
root@usn-04:~/burn-in/fio# mount | grep sda
/dev/sda on /data/1 type xfs (rw,noatime,nodiratime,swalloc,attr2,inode64,allocsize=256k,noquota)

This is a hardware RAID6 with a 128k chunk size and 12 elements (so 10 data drives, thus the 1280k allocsize for stripe width allocation). Is this something specific to xfs itself, or is this an issue in the mount tools ?

FWIW: we are using xfs-tools 3.2.2, kernel 3.18.12. I've also seen this with the 3.10 series though, so I am not sure where to look to track this down. Any guidance/suggestion? Thanks!

Joe

[email protected]

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#1 lore raw
Quoted 13 lines · Joe Landman

Hi folks:

I've noticed some "odd" behavior while experimenting with xfs
mounts on relatively recent kernels (3.18 series). Basically, the swalloc,allocsize=x options are being modified to something different. That is:

root@usn-04:~/burn-in/fio# uname -r
3.18.12.scalable
root@usn-04:~/burn-in/fio# mount -o
inode64,noatime,nodiratime,swalloc,allocsize=1280k /dev/sda /data/1
Quoted 8 lines
root@usn-04:~/burn-in/fio# mount | grep sda
/dev/sda on /data/1 type xfs
(rw,noatime,nodiratime,swalloc,attr2,inode64,allocsize=256k,noquota)

This is a hardware RAID6 with a 128k chunk size and 12 elements (so 10 data drives, thus the 1280k allocsize for stripe width allocation). Is this something specific to xfs itself, or is this an issue in the mount tools ?

Please provide:

- xfs_info output from the filesystem in question
- dmesg output of all the mount messages

Dave.

Signature · 7 lines
Dave Chinner
[email protected]

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs