mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-10-12 21:54:59 +08:00
feat: Support 8k sector sizes (#1040)
This commit is contained in:
parent
7acd1f6cdb
commit
b694d6faf8
@ -509,9 +509,6 @@ addDevice () {
|
|||||||
if [ -n "$physical" ]; then
|
if [ -n "$physical" ]; then
|
||||||
if [[ "$physical" != "512" ]]; then
|
if [[ "$physical" != "512" ]]; then
|
||||||
sectors=",logical_block_size=$logical,physical_block_size=$physical"
|
sectors=",logical_block_size=$logical,physical_block_size=$physical"
|
||||||
if [[ "$physical" != "4096" && "$physical" != "32768" ]]; then
|
|
||||||
warn "Unknown physical sector size: $physical for $DISK_DEV"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
warn "Failed to determine the sector size for $DISK_DEV"
|
warn "Failed to determine the sector size for $DISK_DEV"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user