Eric Sandeen wrote:
rpmbuild --rebuild --target i686
will build against the currently running kernel, or
rpmbuild --rebuild --target i686 --define "kernel_topdir
will build against what is defined in kernel_topdir
you need matching kernel & kernel-devel rpms installed to build.
I built this for RHELAS4U2 x86_64 with the 2.6.9-22.ELsmp kernel.
I did enable the xfs_direct_io_locking.patch (see inside
kernel-module-xfs.spec for details).
However, I run into issues with xfs_freeze as it often locks up when I
try to freeze a file system where there is I/O activity. Sometimes it
happen on the first xfs_freeze invocation to freeze the file system,
other times I have to unfreeze and then it happens on the second time I
freeze. xfs_freeze never returns when this happens.
Looks like xfs_io get stuck --see partial output from `ps auxf`:
strace -ff -o freeze.txt xfs_freeze -f /mnt/xfs
\_ /bin/sh -f /usr/sbin/xfs_freeze -f /mnt/xfs
\_ /usr/sbin/xfs_io -r -p xfs_freeze -x -c freeze /mnt/xfs
Anyone else encountering this issue?
Geir A. Myrestrand