summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTroels Nørgaard <[email protected]>2018-07-07 01:15:19 +0200
committerBrian Behlendorf <[email protected]>2018-07-06 16:15:19 -0700
commit94370f595597389fe317c47acec588e10bd76cf5 (patch)
tree0793e9e8236cc9b3434aa01323ee758e73f2e96d /tests
parent3f4e6d6f36732f0bd3b55487f04281f8eb553082 (diff)
Default ashift for Amazon EC2 NVMe devices
Add a default 4 KiB ashift for Amazon EC2 NVMe devices on instances with NVMe ephemeral devices, such as the types c5d, f1, i3 and m5d. As per the official documentation [1] a 4096 byte blocksize should be used to match the underlying hardware. The string was identified via: $ sudo sginfo -M /dev/nvme0n1 INQUIRY response (cmd: 0x12) ---------------------------- Device Type 0 Vendor: NVMe Product: Amazon EC2 NVMe Revision level: $ lsblk -io KNAME,TYPE,SIZE,MODEL KNAME TYPE SIZE MODEL nvme0n1 disk 442.4G Amazon EC2 NVMe Instance Storage [1] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ storage-optimized-instances.html Retrived 2018-07-03 Reviewed-by: George Melikov <[email protected]> Reviewed-by: Giuseppe Di Natale <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Troels Nørgaard <[email protected]> Closes #7676
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions