Files
mirror_zfs/module
Mateusz Guzik 05613fa7a3 FreeBSD: fix panic due to tqid overflow
The 32-bit counter eventually wraps to 0 which is a sentinel for invalid
id.

Make it 64-bit on LP64 platforms and 0-check otherwise.

Note: Linux counterpart uses id stored per queue instead of a global.
I did not check going that way is feasible with the goal being the
minimal fix doing the job.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Mateusz Guzik <mjguzik@gmail.com>
Closes #11059
2020-10-16 13:05:18 -07:00
..
2020-09-03 16:17:18 -07:00
2020-10-01 12:16:28 -07:00
2020-09-03 16:17:18 -07:00
2020-06-10 09:24:15 -07:00
2020-10-16 12:55:56 -07:00
2020-10-16 13:05:00 -07:00
2020-10-16 13:02:39 -07:00
2020-06-10 09:24:15 -07:00
2020-08-20 10:30:06 -07:00
2020-08-27 16:07:13 -07:00
2020-10-16 13:01:14 -07:00