[Top] [All Lists]

[PATCH 0/5] xfs: sanitise supberlock feature bit support

To: xfs@xxxxxxxxxxx
Subject: [PATCH 0/5] xfs: sanitise supberlock feature bit support
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Tue, 6 May 2014 13:55:54 +1000
Delivered-to: xfs@xxxxxxxxxxx
Hi folks,

This patchset is a followup to the original feature bit cleanup
patch I sent here:


It basically removes all the old cruft that we inherited from Irix
(such as tests and conversion to/from v1-3 superblocks) that we've
never supported on Linux.  On Linux, we've ony ever supported V2
directories, and so anything that doesn't know about V2 directories
is simply going to be rejected at mount time. Hence we don't need
all the code to handle versions older than this.

Nor do we care about Irix bootloader feature bit masks (the SASH
feature bits) or about things that were never implemented like
shared readonly superblock support. Hence we can remove a fairly
large chunk of complexity out of the feature bit testing if we
only test for things that we can support.

Further, we should really always use to v2 inodes these days
on v4 superblock filesystems. We've been setting the NLINK feature
bit by default at mkfs time since 2007, so no we make the kernel set
it by default at mount time, too. This means that we always convert
v1 inodes to v2 inodes, and so reduce the number of different code
paths we need to test and support.

Thoughts, comments?



<Prev in Thread] Current Thread [Next in Thread>