On 01/19/2015 08:31 AM, Jens Axboe wrote:
I didn't look at your code yet, but I'm assuming it's a self contained
IO engine. So we should be able to make that work, by only linking the
engine itself against libsmbclient. But sheesh, what a pain in the butt,
why can't we just all be friends.
I pulled it in for testing, and came up with this patch [1]. If you
don't do anything, it'll build cifs into fio as before. If you add
--cifs-external to the configure arguments, it'll build cifs.so as an
externally loadable module. You'd then use:
ioengine=/path/to/cifs.so
to use that module. I did not add an install target, I'll leave that to
distros...
Let me know how that works for you. And let me know how far along you
are with the cifs engine, I'd like to pull it in.
http://git.kernel.dk/?p=fio.git;a=shortlog;h=refs/heads/cifs
[1]
http://git.kernel.dk/?p=fio.git;a=commit;h=c2c05e33b753ae686e24b43d1034d0c474203729
--
Jens Axboe
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html