Re: [PATCH 17/32 V2] xfs: verify dquot blocks as they are read from disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 15, 2012 at 11:55:47AM -0600, Mark Tinguely wrote:
> On 11/14/12 00:50, Dave Chinner wrote:
> >xfs: verify dquot blocks as they are read from disk
> >
> >From: Dave Chinner<dchinner@xxxxxxxxxx>
> >
> >Add a dquot buffer verify callback function and pass it into the
> >buffer read functions. This checks all the dquots in a buffer, but
> >cannot completely verify the dquot ids are correct. Also, errors
> >cannot be repaired, so an additional function is added to repair bad
> >dquots in the buffer if such an error is detected in a context where
> >repair is allowed.
> >
> >Signed-off-by: Dave Chinner<dchinner@xxxxxxxxxx>
> >Reviewed-by: Phil White<pwhite@xxxxxxx>
> >---
> >V2: quotacheck wasn't verifying dquots as they were read from disk
> >
> 
> FYI:
> 
> The xfs_quota program does not generate output with V2 which causes
> xfstest 050 to fails.

I don't think that has anything to do with this patch orthechange
for V2 - V2 only changes quotacheck behaviour, and that doesn't
impact xfs_quota behaviour. The test passes just fine here:

$ sudo ./check 050
FSTYP         -- xfs (debug)
PLATFORM      -- Linux/x86_64 test-2 3.7.0-rc5-dgc+
MKFS_OPTIONS  -- -f -bsize=4096 /dev/vdb
MOUNT_OPTIONS -- /dev/vdb /mnt/scratch

050 14s ... 15s
Ran: 050
Passed all 1 tests

So perhaps there's something else going wrong on your machine?

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux