From: Jan Kara Date: Wed, 27 Mar 2013 16:30:59 +0000 (+0100) Subject: jbd: don't wait (forever) for stale tid caused by wraparound X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~50^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e678a4f0f50d4fa4f7aaa6de8eb3f071513356a0;p=pandora-kernel.git jbd: don't wait (forever) for stale tid caused by wraparound In the case where an inode has a very stale transaction id (tid) in i_datasync_tid or i_sync_tid, it's possible that after a very large (2**31) number of transactions, that the tid number space might wrap, causing tid_geq()'s calculations to fail. Commit d9b0193 "jbd: fix fsync() tid wraparound bug" attempted to fix this problem, but it only avoided kjournald spinning forever by fixing the logic in jbd_log_start_commit(). Signed-off-by: Jan Kara --- Reading git-diff-tree failed