Skip to content
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

Fix mount_zfs dependency on libzpool #913

Closed
wants to merge 1 commit into from

Conversation

dechamps
Copy link
Contributor

mount_zfs depends on libzpool for zfs_prop_written since 330d06f. Unfortunately, the Makefile for mount_zfs has not been modified to reflect this. As a result, libtool doesn't know about the dependency, which may result in the wrong libzpool being used during the build (e.g. the libzpool from the system instead of the libzpool from the build directory).

This patch adds the dependency to fix the issue.

Fixes #909.

mount_zfs depends on libzpool for zfs_prop_written since
330d06f. Unfortunately, the Makefile
for mount_zfs has not been modified to reflect this. As a result,
libtool doesn't know about the dependency, which may result in the wrong
libzpool being used during the build (e.g. the libzpool from the system
instead of the libzpool from the build directory).

This patch adds the dependency to fix the issue.

Fixes openzfs#909.
@behlendorf
Copy link
Contributor

e6f2905 Fix mount_zfs dependency on libzpool.

@behlendorf behlendorf closed this Aug 31, 2012
@cwedgwood
Copy link
Contributor

I had to revert this to get link working on a clean system (Debian FWIW). I'll try to get more details tomorrow.

@dechamps
Copy link
Contributor Author

I just checked it again on two separate Debian Squeeze systems (including a clean one) without encountering any build issues. I'm afraid you'll have to be a little more specific.

pcd1193182 pushed a commit to pcd1193182/zfs that referenced this pull request Sep 26, 2023
…penzfs#913)

ZIL: Fix race introduced by f63811f.

We are not allowed to access lwb after setting LWB_STATE_FLUSH_DONE
state and dropping zl_lock, since it may be freed by zil_sync().
To free itxs and waiters after dropping the lock we need to move
lwb_itxs and lwb_waiters lists elements to local storage.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by:	Alexander Motin <mav@FreeBSD.org>
Sponsored by:	iXsystems, Inc.
Closes openzfs#14957
Closes openzfs#14959

Co-authored-by: Alexander Motin <mav@FreeBSD.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

make rpm is using host libraries
3 participants