diff options
author | Olivier Cochard <olivier@FreeBSD.org> | 2025-10-07 21:45:35 +0000 |
---|---|---|
committer | Olivier Cochard <olivier@FreeBSD.org> | 2025-10-07 21:56:23 +0000 |
commit | 2e09ec72417c6c2927185f4d63faea9ac7926c2b (patch) | |
tree | d22eaddcd8758439b7616f7835a168648e571939 /sbin/fdisk/fdisk_mbr_enc.c | |
parent | e7e7bf757acef3d4e41a6e22f7d04b3df08834cc (diff) |
Fix a test failure that occurs when max_buf_aio exceeds 31, as the
calculated buffer size exceeds the 16 KB memory disk device. Increase
the MD device size to 1 MB to prevent truncation.
Rename MD_LEN to DEVICE_IO_LEN for clarity and add a more
descriptive error message.
Reviewed by: asomers
Approved by: asomers
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D52914
Diffstat (limited to 'sbin/fdisk/fdisk_mbr_enc.c')
0 files changed, 0 insertions, 0 deletions