HomeFreeBSD

BRT should return EOPNOTSUPP

Description

BRT should return EOPNOTSUPP

Return the more descriptive EOPNOTSUPP instead of EXDEV when the
storage pool doesn't support block cloning.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Rob Norris <rob.norris@klarasystems.com>
Signed-off-by: Kay Pedersen <mail@mkwg.de>
Closes #15097

Details

Provenance
oromenahar <christianpe96@gmail.com>Authored on Jul 27 2023, 6:32 PM
GitHub <noreply@github.com>Committed on Jul 27 2023, 6:32 PM
Parents
rG704c80f04871: Avoid waiting in dmu_sync_late_arrival().
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG5bdfff5cfc8b: BRT should return EOPNOTSUPP (authored by oromenahar <christianpe96@gmail.com>).Jul 27 2023, 6:32 PM