-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reintroduce IO accounting on zvols on Linux 3.19+ #3746
Conversation
3d51dff
to
cb94cf1
Compare
This seems to break AC's generation of the configure file:
That region ends up looking like this:
Seems autoconf is doing something strange here. Any thoughts on what this might be? The exact same issue is visible around line 29934, with the surrounding 40 lines appearing identical at first pass. |
cb94cf1
to
ac60866
Compare
@sempervictus I had not looked at ZFS_LINUX_TRY_COMPILE_SYMBOL's arguments carefully enough to notice that it added a couple for explicitly specifying a symbol and file containing it and autoconf was happy with it. I had sent it to the buildbot to see if I had made any mistakes, so I had not known about this until I looked at the result. The mistake is fixed now. |
Hmm... this doesn't seem to be working like I expected it to work. I will debug it when I find time. |
978609a
to
87cd58a
Compare
The latest version works properly. |
87cd58a
to
352383d
Compare
This patch looks good, however there are two minor style issue to address.
|
352383d
to
ccf988f
Compare
openzfs/zfs@e20cd6f caused us to lose IO accounting on zvols. When I originally wrote that last year, the symbols we needed to maintain IO accounting were GPL exported, but torvalds/linux@394ffa5 provided suitable symbols for restoring this functionality 4 months later. We can call them to restore the IO accounting on Linux 3.19 and later as well as any older kernels where that patch is backported. Closes openzfs#3741 Signed-off-by: Richard Yao <ryao@gentoo.org>
@behlendorf The cstyle issue should be fixed. |
Seems to work now, slowly pushing out to other testbeds, if all goes well will hit prod tomorrow. |
The updated version looks good to me. The test failures we all due to known issues or the VMs running out of free space in the case of the ztest seg faults. Merged as: 8198d18 Reintroduce IO accounting on zvols on Linux 3.19+ |
e20cd6f caused us to
lose IO accounting on zvols. When I originally wrote that last year, the
symbols we needed to maintain IO accounting were GPL exported, but
torvalds/linux@394ffa5 provided
suitable symbols for restoring this functionality 4 months later. We
can call them to restore the IO accounting on Linux 3.19 and later as
well as any older kernels where that patch is backported.
Closes #3741
Signed-off-by: Richard Yao ryao@gentoo.org