Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
file: Return NBD_FLAG_CAN_MULTI_CONN for the file plugin.
This allows multiple connections from a single client, and should be safe assuming flush/FUA has been implemented correctly in the previous commit. Using the file plugin, but locating the file on /dev/shm, I obtained the following results. No multi-conn: read: IOPS=52.0k, BW=203MiB/s (213MB/s)(23.8GiB/120002msec) write: IOPS=52.0k, BW=203MiB/s (213MB/s)(23.8GiB/120002msec) Multi-conn (-C 8): read: IOPS=122k, BW=477MiB/s (500MB/s)(55.9GiB/120002msec) write: IOPS=122k, BW=477MiB/s (500MB/s)(55.9GiB/120002msec)
- Loading branch information