Revert "Improve AF hard disk detection"
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 11 Sep 2012 18:26:25 +0000 (11:26 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 11 Sep 2012 23:33:49 +0000 (16:33 -0700)
commitcda4db408c28a29438ba702e2018bd0d5dd0cc03
treeb64b80a7caadef641ac2b083df477ffecedae0f7
parent27ccd4147bd29e9334c57a08d99481447a19c82f
Revert "Improve AF hard disk detection"

This reverts commit 395350c85d9903beba43bac7ae79092ae25f1526 which
accidentally introduced issue #955.

Pools using AF drives which were originally created with a sector
size of 512 bytes will now be correctly detected to have physical
sector size of 4096.  This is desirable for a new pool, however for
an existing pool abruptly changing the sector size causes problems.

For this reason, this change is being reverted until the additional
logic can be added to detect the existing pool case.  Existing
pools must use the ashift size stored in the label regardless of
what the disk reports.  This is critical for compatibility.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #955
config/kernel-bdev-physical-size.m4 [deleted file]
config/kernel.m4
include/linux/blkdev_compat.h