RemixVSL / iomemory-vsl4

Updated Fusion-io iomemory VSL4 Linux (version 4.3.7) driver for recent kernels.
55 stars 9 forks source link

Fix fio queue rq #5

Closed Tourman36 closed 4 years ago

Tourman36 commented 4 years ago

When used USE_QUEUE_NONE (default), code compiles, and works (I only did sanity tests). None of the functions changed are even used when no queue is selected, but using USE_QUEUE_MQ causes modprobe to hang.

I added warnings that USE_QUEUE_MQ requires additional work. It's possible with this type of device we don't even need to use a QUEUE, but there's no way to test right now for sure. Since the default implementation works, I suggest we merge branches to avoid conflicts down the road.

`root@pve1:/home/src# fio-status -a

Found 1 VSL driver package: 4.3.7 build 1205 Driver: loaded

Found 1 ioMemory device in this system

Adapter: ioMono (driver 4.3.7) HP 3.2TB HH/HL Value Endurance (VE) PCIe Workload Accelerator , Product Number:763838-B21, SN:3UN517T02D ioMemory Adapter Controller, PN:764127-001 Product UUID:7ee4d44a-07de-5180-8caf-03c974236a65 PCIe Bus voltage: avg 12.20V PCIe Bus current: avg 0.80A PCIe Bus power: avg 9.70W PCIe Power limit threshold: 24.75W PCIe slot available power: unavailable PCIe negotiated link: 8 lanes at 5.0 Gt/sec each, 4000.00 MBytes/sec total Connected ioMemory modules: fct0: 07:00.0, Product Number:763838-B21, SN:3UN517T02D

fct0 Detached ioMemory Adapter Controller, Product Number:763838-B21, SN:1443G1083 ioMemory Adapter Controller, PN:764127-001 Microcode Versions: App:0.0.44.0 Powerloss protection: protected PCI:07:00.0 Vendor:1aed, Device:3002, Sub vendor:1590, Sub device:a5 Firmware v8.9.9, rev 20200113 Public UEFI Option ROM v4.3.7, rev 1205 Disabled 3200.00 GBytes device size Format: v501, 781250000 sectors of 4096 bytes PCIe slot available power: unavailable PCIe negotiated link: 8 lanes at 5.0 Gt/sec each, 4000.00 MBytes/sec total Internal temperature: 40.85 degC, max 46.76 degC Internal voltage: avg 1.01V, max 1.01V Aux voltage: avg 1.79V, max 1.81V Reserve space status: Healthy; Reserves: 100.00%, warn at 10.00% Active media: 100.00% Rated PBW: 11.00 PB, 92.69% remaining Lifetime data volumes: Physical bytes written: 803,719,212,577,392 Physical bytes read : 1,405,277,461,784,448 RAM usage: Current: 75,440,000 bytes Peak : 75,440,000 bytes

root@pve1:/home/src#`