[Top] [All Lists]

[PATCH v3 00/10] xfs_ioc_bulkstat code refactoring and consolidation

To: "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>
Subject: [PATCH v3 00/10] xfs_ioc_bulkstat code refactoring and consolidation
From: Jeff Liu <jeff.liu@xxxxxxxxxx>
Date: Tue, 03 Jun 2014 17:17:42 +0800
Delivered-to: xfs@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0
Hi folk,

This is the revised patches for xfs_ioc_bulkstat consolidation and code
refactoring. As per Christoph's comments, I'm not include the per AG
inumber patch in this series given that I don't actually introduce the
relevant inumbers interface now. Similar to that reason, I also dropped
the per AG bulkstat patch, it would be included in parallel quota check

- one major bug fix is at xfs_bulkstat_ag_ichunk() regarding the user buffer
  pointer operations, it should be defined as a pointer-to-pointer since it
  would be updated inside xfs_bulkstat_ag_ichunk().

- separate xfs_inumber consolidate patch into two patches, the first one
  fix the formater function return value and consolidate the codes, another
  one does the actual logic changes for better error handling.

- Add a separate patch to get rid of the redundant user buffer count
  checks at xfs_bulkstat()

- fixed agino calculation issue at xfs_bulkstat_grab_ichunk().

v2: http://oss.sgi.com/archives/xfs/2014-04/msg00554.html
v1: http://oss.sgi.com/archives/xfs/2013-12/msg00901.html

Any comments are welcome!


<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH v3 00/10] xfs_ioc_bulkstat code refactoring and consolidation, Jeff Liu <=