]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Add nossd_spread mount option
authorHoward McLauchlan <hmclauchlan@fb.com>
Thu, 8 Mar 2018 18:48:48 +0000 (10:48 -0800)
committerDavid Sterba <dsterba@suse.com>
Fri, 30 Mar 2018 23:26:52 +0000 (01:26 +0200)
commitfd069f1fc17bfda0ae388170e54eb0ddada09cd2
tree29473f3709f80ca745b5844a5edbe4116255f8b2
parent87dbd50ed5ffa69b51e53b7d1b05b40be4d482d4
btrfs: Add nossd_spread mount option

Btrfs has two mount options for SSD optimizations: ssd and ssd_spread.
Presently there is an option to disable all SSD optimizations, but there
isn't an option to disable just ssd_spread.

This patch adds a mount option nossd_spread that disables ssd_spread
only.

Reviewed-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Howard McLauchlan <hmclauchlan@fb.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/super.c