Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'dlm-fixes-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm

Pull dlm fixes from David Teigland:
"This includes one short patch fixing the behavior of the QUECVT flag,
which the gfs2 folks are waiting on."

* tag 'dlm-fixes-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/linux-dlm:
dlm: fix QUECVT when convert queue is empty

+12
+12
fs/dlm/lock.c
··· 1737 1737 return 1; 1738 1738 1739 1739 /* 1740 + * Even if the convert is compat with all granted locks, 1741 + * QUECVT forces it behind other locks on the convert queue. 1742 + */ 1743 + 1744 + if (now && conv && (lkb->lkb_exflags & DLM_LKF_QUECVT)) { 1745 + if (list_empty(&r->res_convertqueue)) 1746 + return 1; 1747 + else 1748 + goto out; 1749 + } 1750 + 1751 + /* 1740 1752 * The NOORDER flag is set to avoid the standard vms rules on grant 1741 1753 * order. 1742 1754 */