Permalink
Switch branches/tags
Nothing to show
Commits on Dec 21, 2016
  1. docs: enumerate possible directory ftype values

    djwong committed Dec 19, 2016
    We don't actually list the ftype constants, so do that.
    
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
  2. docs: update refcount btree to reflect new cow staging extent policy

    djwong committed Oct 18, 2016
    We now record the extents being used to stage a copy on write operation
    in the refcount btree with the high bit of rc_startblock set and a
    reference count of 1.  Setting the high bit helps us reduce CoW GC time
    at mount by moving all the records to the right side of the tree.
    
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
  3. docs: fix a typo in the AGF section of the disk format doc

    djwong committed Nov 23, 2016
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
Commits on Sep 8, 2016
  1. xfsdocs: document the realtime reverse mapping btree

    djwong committed with dchinner Sep 8, 2016
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Dave Chinner <dchinner@redhat.com>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
  2. xfsdocs: document refcount btree and reflink

    djwong committed with dchinner Sep 8, 2016
    Document the reference count btree and talk a little bit about how
    the reflink feature uses it.
    
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Dave Chinner <dchinner@redhat.com>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
  3. xfsdocs: reverse-mapping btree documentation

    djwong committed with dchinner Sep 8, 2016
    Add chapters on the operation of the reverse mapping btree and future
    things we could do with rmap data.
    
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Dave Chinner <dchinner@redhat.com>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
  4. xfsdocs: move the discussions of short and long format btrees to a se…

    djwong committed with dchinner Sep 8, 2016
    …parate chapter
    
    Move the discussion of short and long format btrees into a separate
    chapter.
    
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Dave Chinner <dchinner@redhat.com>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
  5. xfsdocs: update the on-disk format with changes for Linux 4.5

    djwong committed with dchinner Sep 8, 2016
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Dave Chinner <dchinner@redhat.com>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
  6. xfsdocs: document known testing procedures

    djwong committed with dchinner Sep 8, 2016
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Dave Chinner <dchinner@redhat.com>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
  7. journaling_log: fix some typos in the section about EFDs

    djwong committed with dchinner Sep 8, 2016
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Dave Chinner <dchinner@redhat.com>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
Commits on Jan 4, 2016
  1. move directory chapter before xattr chapter

    djwong committed with dchinner Jan 4, 2016
    Since the chapter on directories introduces data structures that are
    referenced in the xattr chapter, the book should discuss directories first.
    
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
  2. document the sparse inodes feature

    djwong committed with dchinner Jan 4, 2016
    Document the new sparse inodes feature and how it affects the inobt records.
    
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
  3. document magic numbers and theoretical limits

    djwong committed with dchinner Jan 4, 2016
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
  4. add a chapter discussing v5 disk format

    djwong committed with dchinner Jan 4, 2016
    Add a chapter to give an overview of the enhanced metadata integrity
    fields present on a v5 filesystem.
    
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
  5. add documentation of v5 fields

    djwong committed with dchinner Jan 4, 2016
    Document the new fields and data structures added in XFS v5 filesystems.
    
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
  6. document the operation of the realtime device and inodes

    djwong committed with dchinner Jan 4, 2016
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
  7. document the xfs log format

    djwong committed with dchinner Jan 4, 2016
    Discuss the on-disk log format and provide an example of walking through
    the log with xfs_logprint.
    
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
  8. introduce XFS at a high level

    djwong committed with dchinner Jan 4, 2016
    Provide a quick overview of the history and design goals of XFS, and
    specify what exactly this documentation aims to do.
    
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
  9. fix quoted text markings

    djwong committed with dchinner Jan 4, 2016
    Use asciidoc quotes for quoted strings.
    
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
  10. add missing xfs_db examples

    djwong committed with dchinner Jan 4, 2016
    Fix some of the more egregious missing xfs_db examples so that the reader
    can appreciate what the data structures look like.
    
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
  11. add missing structure field definitions

    djwong committed with dchinner Jan 4, 2016
    Add missing field definitions for various data structures.
    
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
  12. fix various errors and missing bits in the text

    djwong committed with dchinner Jan 4, 2016
    Fix typos and grammatical errors in the text.
    
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
  13. make example section titles consistent

    djwong committed with dchinner Jan 4, 2016
    Make the section titles of the examples consistently formatted.
    
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
  14. update types

    djwong committed with dchinner Jan 4, 2016
    Update the common data types to reflect modern XFS source.
    
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
  15. delete images of hex dumps

    djwong committed with dchinner Jan 4, 2016
    The images of xfs_db sessions were translated to asciidoc, so drop the
    unnecessary PNG and SVG files.
    
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
  16. convert images to text

    djwong committed with dchinner Jan 4, 2016
    Convert images that are purely screenshots of xfs_db sessions to text,
    to reduce the document size and format better.
    
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
  17. convert html entities to regular characters

    djwong committed with dchinner Jan 4, 2016
    Convert HTML entities back to regular characters, since this is now ASCII.
    
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
  18. restore the old rendering of structure field definitions

    djwong committed with dchinner Jan 4, 2016
    Restore the rendering of the on-disk struct fields to resemble that of
    the old SGI book, with bold field names on one line and the
    description indented below.  This is a lot more readable than letting
    the whole field and description run together as one long line.
    
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
  19. update book subtitles and headings

    djwong committed with dchinner Jan 4, 2016
    The current subtitle is redundant and since this is the third edition
    (the second ed. came out in 2006) we might as well note that.  Update
    some of the headings to make it clear that we're talking about disk
    format and not much else.
    
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
  20. fix asciidoc confusion w.r.t. include file newline at EOF

    djwong committed with dchinner Jan 4, 2016
    Space each include one line apart so that asciidoc knows that each
    section has ended at included file's EOF.  This prevents it from
    spewing horribly confused XML that blows up xmllint if each included
    file doesn't itself end with a blank line.
    
    Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
    Reviewed-by: Christoph Hellwig <hch@lst.de>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
Commits on Mar 16, 2015
  1. SMR: Updates from LSFMM/Vault

    Dave Chinner committed with dchinner Mar 16, 2015
    After a week of tallking about SMR and thinking about the issues
    raised in the original document and some of the solutions that
    have arisen from LSFMM and Vault, there are some updates that need
    to be made.
    
    - outer zone is "conventional media recording" (CMR)
    - some drives have much more CMR than others
    - SMR architecture is targetted at single drives: no RAID!
    - SMR architecture is targetted at unparitioned drives: fs only!
    - CMR region is large enough for journal
    - clarified the hint to vendors for "hybrid" SMR drives
    - implications of 256MB zones made clear
      - /.zones/ needs to be heirarchical
      - zone groups are required for management of locality
      - zone inodes and bitmaps need to be reclaimable
    - Cleaner updated for zone group awareness
    - Inode data fork reverse mapping btree architecture added
    - potential concurrent allocation/write issue solution added
    
    Signed-off-by: Dave Chinner <dchinner@redhat.com>
  2. design: XFS Host Aware SMR

    Dave Chinner committed with dchinner Mar 16, 2015
    First pass at filesystem architecture needed to support  host aware
    SMR Devices.
    
    Signed-off-by: Dave Chinner <dchinner@redhat.com>
Commits on Mar 31, 2014
  1. admin: add basic performance tuning document

    Dave Chinner committed with dchinner Mar 31, 2014
    Take the basic XFS filesystem tuning section from the RHEL 6
    performance tuning guide, convert it to asciidoc and prepare it for
    being expanded.
    
    Signed-off-by: Dave Chinner <dchinner@redhat.com>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
Commits on Feb 11, 2014
  1. doc: add self describing metadata design

    Dave Chinner committed with dchinner Feb 11, 2014
    From: Dave Chinner <dchinner@redhat.com>
    
    Pull the self describing metadata doc across from the kernel
    Documentation/ directory and convert it to asciidoc format.
    
    Signed-off-by: Dave Chinner <dchinner@redhat.com>
    Signed-off-by: Dave Chinner <david@fromorbit.com>
  2. doc: import XFS Filesystem Structure documentation

    Dave Chinner committed with dchinner Feb 11, 2014
    This is pulled in from the xml format documents that are present in
    git://git.kernel.org/pub/scm/fs/xfs/xfsdocs-xml-dev.git. They are
    converted to asciidoc format and a makefile infrastructure is built
    around the newly imported design documentation.
    
    Signed-off-by: Dave Chinner <dchinner@redhat.com>