Recent changes (master)
The following changes since commit 6f3de5cefec65b1fd31abd79274089282ea6569e:
stat: fix unified_rw_reporting=both BW and IOPS (2024-12-04 19:00:53 +0000)
are available in the Git repository at:
git://git.kernel.dk/fio.git master
for you to fetch changes up to f512744be77f2c65e17e3ddde90c2458124ac152:
nfs: add support for new libnfs API (2024-12-09 10:44:15 -0500)
----------------------------------------------------------------
Ronnie Sahlberg (1):
nfs: add support for new libnfs API
engines/nfs.c | 12 ++++++++++++ 1 file changed, 12 insertions(+)
---
Diff of recent changes:
engines/nfs.c +12 -0
@@ -157,16 +157,28 @@ static int queue_write(struct fio_libnfs_options *o, struct io_u *io_u) {struct nfs_data *nfs_data = io_u->engine_data; +#ifdef LIBNFS_API_V2 +return nfs_pwrite_async (o->context, nfs_data->nfsfh, + io_u->buf, io_u->buflen, io_u->offset, + nfs_callback, io_u); +#else return nfs_pwrite_async (o->context, nfs_data->nfsfh, io_u->offset, io_u->buflen, io_u->buf, nfs_callback, io_u); +#endif }static int queue_read (struct fio_libnfs_options *o,struct io_u *io_u) {struct nfs_data *nfs_data = io_u->engine_data; +#ifdef LIBNFS_API_V2 +return nfs_pread_async (o->context, nfs_data->nfsfh, + io_u->buf, io_u->buflen, io_u->offset, + nfs_callback, io_u); +#else return nfs_pread_async (o->context, nfs_data->nfsfh, io_u->offset, io_u->buflen, nfs_callback, io_u); +#endif } static enum fio_q_status fio_libnfs_queue(struct thread_data *td,