u-root / iscsinl

Go iSCSI initiator netlink library
BSD 3-Clause "New" or "Revised" License
16 stars 6 forks source link

Selecting a bad block scheduler gives a cryptic failure #13

Open jlowellwofford opened 3 years ago

jlowellwofford commented 3 years ago

By default, the block scheduler is "noop". If an invalid scheduler is written, the only notification of that failure is an unspecified "short write" error, which causes an over-all mount failure.

It would be nice (1) to have a more descriptive failure on writing the block scheduler; and, (2) have a more likely default ("mq-deadline"?).