xfs-masters
[Top] [All Lists]

[Bug 12688] New: XFS support for dt_type in readdir results

To: xfs-masters@xxxxxxxxxxx
Subject: [Bug 12688] New: XFS support for dt_type in readdir results
From: bugme-daemon@xxxxxxxxxxxxxxxxxxx
Date: Wed, 11 Feb 2009 04:47:25 -0800 (PST)
http://bugzilla.kernel.org/show_bug.cgi?id=12688

           Summary: XFS support for dt_type in readdir results
           Product: File System
           Version: 2.5
     KernelVersion: 2.6.28.4
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: XFS
        AssignedTo: xfs-masters@xxxxxxxxxxx
        ReportedBy: edwintorok@xxxxxxxxx


XFS doesn't support the dt_type member in readdir results, it fills it with
DT_UNKNOWN.

These are the filesystems that appear to support the dt_type field:
9p, btrfs, cifs, coda, ext2, ext3, ext4, fat, hfs, hfsplus, jffs2, ntfs, ocfs2,
omfs, openpromfs, romfs, squashfs, ubifs, ufs

I would like XFS to support it as well, is there something in XFS's design that
prevents it, or was it just not implemented?

It would be useful, because you can skip stat()-ing files, and can traverse
directories faster by just looking at the ->dt_type field to know if it is a
file/directory/something else.


-- 
Configure bugmail: http://bugzilla.kernel.org/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>