| To: | xfs-master@xxxxxxxxxxx |
|---|---|
| Subject: | [xfs-masters] [Bug 706] XFS crashes after diskquotacheck on drives with disabled write barriers |
| From: | bugzilla-daemon@xxxxxxxxxxx |
| Date: | Fri, 21 Jul 2006 05:18:26 -0700 |
| Reply-to: | xfs-masters@xxxxxxxxxxx |
| Sender: | xfs-masters-bounce@xxxxxxxxxxx |
http://oss.sgi.com/bugzilla/show_bug.cgi?id=706 ------- Additional Comments From stefan@xxxxxxxxx 2006-07-21 05:18 CST ------- Here is my patch which solves the problem - it does a barrier check before quota check. *** linux-2.6.17.6/fs/xfs/quota/xfs_qm.c Sat Jul 15 21:00:43 2006 --- ../linux-2.6.17.6/fs/xfs/quota/xfs_qm.c Fri Jul 21 14:11:52 2006 *************** *** 386,389 **** --- 386,392 ---- if (XFS_QM_NEED_QUOTACHECK(mp) && !(mfsi_flags & XFS_MFSI_NO_QUOTACHECK)) { + mp->m_flags |= XFS_MOUNT_BARRIER; + xfs_mountfs_check_barriers(mp); + if ((error = xfs_qm_quotacheck(mp))) { /* Quotacheck has failed and quotas have -- Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [xfs-masters] [Bug 704] Segfault on mkfs.xfs on uninitialized devices on ppc, bugzilla-daemon |
|---|---|
| Next by Date: | [xfs-masters] [Bug 704] Segfault on mkfs.xfs on uninitialized devices on ppc, bugzilla-daemon |
| Previous by Thread: | [xfs-masters] [Bug 707] compile failure on PowerPC64 due to linux header problems, bugzilla-daemon |
| Next by Thread: | [xfs-masters] [Bug 706] XFS crashes after diskquotacheck on drives with disabled write barriers, bugzilla-daemon |
| Indexes: | [Date] [Thread] [Top] [All Lists] |