xfs
[Top] [All Lists]

PARTIAL TAKE 980084 - Catch errors when turning off quotas.

To: sgi.bugs.xfs@xxxxxxxxxxxx
Subject: PARTIAL TAKE 980084 - Catch errors when turning off quotas.
From: dgc@xxxxxxx (David Chinner)
Date: Wed, 9 Apr 2008 16:59:33 +1000 (EST)
Cc: xfs@xxxxxxxxxxx
Sender: xfs-bounce@xxxxxxxxxxx
Catch errors when turning off quotas.

When turning off quota, we need to write various transactions
to the log to ensure that they are cleanly removed in the case
of a crash. We need to check that the transactions hit the disk
correctly. If we fail to write the final quota off transaction,
we are corrupt in memory and so the only option is to shut the
filesystem down at this point.


Date:  Wed Apr  9 16:59:11 AEST 2008
Workarea:  chook.melbourne.sgi.com:/build/dgc/isms/2.6.x-xfs
Inspected by:  xaiki@xxxxxxx

The following file(s) were checked into:
  longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb


Modid:  xfs-linux-melb:xfs-kern:30790a
fs/xfs/quota/xfs_qm_syscalls.c - 1.39 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/quota/xfs_qm_syscalls.c.diff?r1=text&tr1=1.39&r2=text&tr2=1.38&f=h
        - Catch errors when turning off quotas.



<Prev in Thread] Current Thread [Next in Thread>
  • PARTIAL TAKE 980084 - Catch errors when turning off quotas., David Chinner <=