Revision b7e97872a65e1d57b4451769610554c131f37a0a authored by Dennis Maisenbacher on 06 September 2022, 07:39:28 UTC, committed by Christoph Hellwig on 07 September 2022, 06:33:17 UTC
Maximum Active Resources (MAR) and Maximum Open Resources (MOR) are 0's based vales where a value of 0xffffffff indicates that there is no limit. Decrement the values that are returned by bdev_max_open_zones and bdev_max_active_zones as the block layer helpers are not 0's based. A 0 returned by the block layer helpers indicates no limit, thus convert it to 0xffffffff (U32_MAX). Fixes: aaf2e048af27 ("nvmet: add ZBD over ZNS backend support") Suggested-by: Niklas Cassel <niklas.cassel@wdc.com> Signed-off-by: Dennis Maisenbacher <dennis.maisenbacher@wdc.com> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
1 parent 3770a42
File | Mode | Size |
---|---|---|
hci | ||
nci | ||
Kconfig | -rw-r--r-- | 829 bytes |
Makefile | -rw-r--r-- | 374 bytes |
af_nfc.c | -rw-r--r-- | 1.8 KB |
core.c | -rw-r--r-- | 24.5 KB |
digital.h | -rw-r--r-- | 5.2 KB |
digital_core.c | -rw-r--r-- | 20.1 KB |
digital_dep.c | -rw-r--r-- | 34.2 KB |
digital_technology.c | -rw-r--r-- | 26.4 KB |
llcp.h | -rw-r--r-- | 6.7 KB |
llcp_commands.c | -rw-r--r-- | 16.2 KB |
llcp_core.c | -rw-r--r-- | 34.0 KB |
llcp_sock.c | -rw-r--r-- | 22.2 KB |
netlink.c | -rw-r--r-- | 39.9 KB |
nfc.h | -rw-r--r-- | 4.4 KB |
rawsock.c | -rw-r--r-- | 8.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...