HomeFreeBSD

g_raid: Prevent tasters from attempting excessively large reads

Description

g_raid: Prevent tasters from attempting excessively large reads

Some g_raid tasters attempt metadata reads in multiples of the provider
sectorsize. Reads larger than MAXPHYS are invalid, so detect and abort
in such situations.

Spiritually similar to r217305 / PR 147851.

PR: 214721
Sponsored by: Dell EMC Isilon

Details

Provenance
cemAuthored on
Parents
rS311963: Remove writability requirement for single-mbuf, contiguous-range
Branches
Unknown
Tags
Unknown