0ed40b19c7
Some changers do not like the DVCID bit when querying non-drives, this includes when querying 'all' elements. To circumvent this, we query each type by itself (like mtx does it), and only add the DVCID bit for drives (Data Transfer Elements). Reported by a user in the forum: https://forum.proxmox.com/threads/ibm-3584-ts3500-support.92291/ and limit to 1000 elements per request. (Because some changers limit that request with the options we set) instead of checking if the data len was equal to the allocation_len for getting more data, we count the returned elements and compare that with the number we requested Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> Signed-off-by: Dietmar Maurer <dietmar@proxmox.com> |
||
---|---|---|
.. | ||
changer | ||
drive | ||
file_formats | ||
helpers | ||
pool_writer | ||
test | ||
inventory.rs | ||
linux_list_drives.rs | ||
media_catalog.rs | ||
media_pool.rs | ||
media_set.rs | ||
mod.rs | ||
tape_read.rs | ||
tape_write.rs |