Skip to contentSkip to conversation

Documentation: xfs: consolidate XFS docs into its own subdirectory

PATCH Superseded Bagas Sanjaya 3 participants 5 messages Nov 21, 2023

Subsystems (3)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: xfs: consolidate XFS docs into its own subdirectory

XFS docs are currently in upper-level Documentation/filesystems. Although these are currently 4 docs, they are already outstanding as a group and can be moved to its own subdirectory.

Consolidate them into Documentation/filesystems/xfs/.

---
 Documentation/filesystems/index.rst                |  5 +----
 Documentation/filesystems/xfs/index.rst            | 14 ++++++++++++++
 .../{ => xfs}/xfs-delayed-logging-design.rst       |  0
 .../{ => xfs}/xfs-maintainer-entry-profile.rst     |  0
 .../{ => xfs}/xfs-online-fsck-design.rst           |  0
 .../{ => xfs}/xfs-self-describing-metadata.rst     |  0
 .../maintainer/maintainer-entry-profile.rst        |  2 +-
 7 files changed, 16 insertions(+), 5 deletions(-)
 create mode 100644 Documentation/filesystems/xfs/index.rst
 rename Documentation/filesystems/{ => xfs}/xfs-delayed-logging-design.rst (100%)
 rename Documentation/filesystems/{ => xfs}/xfs-maintainer-entry-profile.rst (100%)
 rename Documentation/filesystems/{ => xfs}/xfs-online-fsck-design.rst (100%)
 rename Documentation/filesystems/{ => xfs}/xfs-self-describing-metadata.rst (100%)
Documentation/filesystems/index.rst +1 -4
index 09cade7eaefc8c..e18bc5ae3b35f8 100644
@@ -121,8 +121,5 @@ Documentation for filesystem implementations.
    udf
    virtiofs
    vfat
-   xfs-delayed-logging-design
-   xfs-maintainer-entry-profile
-   xfs-self-describing-metadata
-   xfs-online-fsck-design
+   xfs/index
    zonefs
Documentation/filesystems/xfs/index.rst new file +14 -0
new file mode 100644
index 00000000000000..ab66c57a5d18ea
@@ -0,0 +1,14 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+============================
+XFS Filesystem Documentation
+============================
+
+.. toctree::
+   :maxdepth: 2
+   :numbered:
+
+   xfs-delayed-logging-design
+   xfs-maintainer-entry-profile
+   xfs-self-describing-metadata
+   xfs-online-fsck-design
Documentation/filesystems/xfs/xfs-delayed-logging-design.rst renamed from Documentation/filesystems/xfs-delayed-logging-design.rst +0 -0
similarity index 100%
rename from Documentation/filesystems/xfs-delayed-logging-design.rst
rename to Documentation/filesystems/xfs/xfs-delayed-logging-design.rst
Documentation/filesystems/xfs/xfs-maintainer-entry-profile.rst renamed from Documentation/filesystems/xfs-maintainer-entry-profile.rst +0 -0
similarity index 100%
rename from Documentation/filesystems/xfs-maintainer-entry-profile.rst
rename to Documentation/filesystems/xfs/xfs-maintainer-entry-profile.rst
Documentation/filesystems/xfs/xfs-online-fsck-design.rst renamed from Documentation/filesystems/xfs-online-fsck-design.rst +0 -0
similarity index 100%
rename from Documentation/filesystems/xfs-online-fsck-design.rst
rename to Documentation/filesystems/xfs/xfs-online-fsck-design.rst
Documentation/filesystems/xfs/xfs-self-describing-metadata.rst renamed from Documentation/filesystems/xfs-self-describing-metadata.rst +0 -0
similarity index 100%
rename from Documentation/filesystems/xfs-self-describing-metadata.rst
rename to Documentation/filesystems/xfs/xfs-self-describing-metadata.rst
Documentation/maintainer/maintainer-entry-profile.rst +1 -1
index 7ad4bfc2cc038a..18cee1edaecb6f 100644
@@ -105,4 +105,4 @@ to do something different in the near future.
    ../driver-api/media/maintainer-entry-profile
    ../driver-api/vfio-pci-device-specific-driver-acceptance
    ../nvme/feature-and-quirk-policy
-   ../filesystems/xfs-maintainer-entry-profile
+   ../filesystems/xfs/xfs-maintainer-entry-profile

base-commit: 98b1cc82c4affc16f5598d4fa14b1858671b2263

Signature · 1 line
An old man doll... just what I always wanted! - Clara
#1 lore raw
Quoted 16 lines · Bagas Sanjaya

XFS docs are currently in upper-level Documentation/filesystems. Although these are currently 4 docs, they are already outstanding as a group and can be moved to its own subdirectory.

Consolidate them into Documentation/filesystems/xfs/.

---
  Documentation/filesystems/index.rst                |  5 +----
  Documentation/filesystems/xfs/index.rst            | 14 ++++++++++++++
  .../{ => xfs}/xfs-delayed-logging-design.rst       |  0
  .../{ => xfs}/xfs-maintainer-entry-profile.rst     |  0
  .../{ => xfs}/xfs-online-fsck-design.rst           |  0
  .../{ => xfs}/xfs-self-describing-metadata.rst     |  0
  .../maintainer/maintainer-entry-profile.rst        |  2 +-
  7 files changed, 16 insertions(+), 5 deletions(-)
Quoted 5 lines

create mode 100644 Documentation/filesystems/xfs/index.rst
rename Documentation/filesystems/{ => xfs}/xfs-delayed-logging-design.rst (100%) rename Documentation/filesystems/{ => xfs}/xfs-maintainer-entry-profile.rst (100%) rename Documentation/filesystems/{ => xfs}/xfs-online-fsck-design.rst (100%) rename Documentation/filesystems/{ => xfs}/xfs-self-describing-metadata.rst (100%)

I think you need to update MAINTAINERS as well.

A project-wide git grep for the document names should have turned it up.

Vegard

#2 lore raw
Quoted 24 lines · Vegard Nossum
Quoted 16 lines · Bagas Sanjaya

XFS docs are currently in upper-level Documentation/filesystems. Although these are currently 4 docs, they are already outstanding as a group and can be moved to its own subdirectory.

Consolidate them into Documentation/filesystems/xfs/.

---
  Documentation/filesystems/index.rst                |  5 +----
  Documentation/filesystems/xfs/index.rst            | 14 ++++++++++++++
  .../{ => xfs}/xfs-delayed-logging-design.rst       |  0
  .../{ => xfs}/xfs-maintainer-entry-profile.rst     |  0
  .../{ => xfs}/xfs-online-fsck-design.rst           |  0
  .../{ => xfs}/xfs-self-describing-metadata.rst     |  0
  .../maintainer/maintainer-entry-profile.rst        |  2 +-
  7 files changed, 16 insertions(+), 5 deletions(-)
Quoted 5 lines

create mode 100644 Documentation/filesystems/xfs/index.rst
rename Documentation/filesystems/{ => xfs}/xfs-delayed-logging-design.rst (100%) rename Documentation/filesystems/{ => xfs}/xfs-maintainer-entry-profile.rst (100%) rename Documentation/filesystems/{ => xfs}/xfs-online-fsck-design.rst (100%) rename Documentation/filesystems/{ => xfs}/xfs-self-describing-metadata.rst (100%)

Quoted 3 lines

I think you need to update MAINTAINERS as well.

A project-wide git grep for the document names should have turned it up.

OK, will fix in v2.

Thanks for the suggestion.

Signature · 1 line
An old man doll... just what I always wanted! - Clara
#3 lore raw
In reply to Bagas Sanjaya
kernel test robot noticed the following build warnings:

Hi Bagas,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 98b1cc82c4affc16f5598d4fa14b1858671b2263]

url:    https://github.com/intel-lab-lkp/linux/commits/Bagas-Sanjaya/Documentation-xfs-consolidate-XFS-docs-into-its-own-subdirectory/20231121-180057
base:   98b1cc82c4affc16f5598d4fa14b1858671b2263
patch link:    https://lore.kernel.org/r/20231121095658.28254-1-bagasdotme%40gmail.com
patch subject: [PATCH] Documentation: xfs: consolidate XFS docs into its own subdirectory
reproduce: (https://download.01.org/0day-ci/archive/20231122/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

>> Warning: Documentation/filesystems/xfs/xfs-online-fsck-design.rst references a file that doesn't exist: Documentation/filesystems/xfs-self-describing-metadata.rst
>> Warning: MAINTAINERS references a file that doesn't exist: Documentation/filesystems/xfs-maintainer-entry-profile.rst
>> Warning: MAINTAINERS references a file that doesn't exist: Documentation/filesystems/xfs-*
>> MAINTAINERS:53207: WARNING: unknown document: ../filesystems/xfs-maintainer-entry-profile
Signature · 2 lines
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
#4 lore raw
Quoted 12 lines · kernel test robot

Hi Bagas,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 98b1cc82c4affc16f5598d4fa14b1858671b2263]

url:    https://github.com/intel-lab-lkp/linux/commits/Bagas-Sanjaya/Documentation-xfs-consolidate-XFS-docs-into-its-own-subdirectory/20231121-180057
base:   98b1cc82c4affc16f5598d4fa14b1858671b2263
patch link:    https://lore.kernel.org/r/20231121095658.28254-1-bagasdotme%40gmail.com
patch subject: [PATCH] Documentation: xfs: consolidate XFS docs into its own subdirectory
reproduce: (https://download.01.org/0day-ci/archive/20231122/[email protected]/reproduce)
Quoted 12 lines

If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All warnings (new ones prefixed by >>):

Quoted 4 lines
Quoted 4 lines

Warning: Documentation/filesystems/xfs/xfs-online-fsck-design.rst references a file that doesn't exist: Documentation/filesystems/xfs-self-describing-metadata.rst
Warning: MAINTAINERS references a file that doesn't exist: Documentation/filesystems/xfs-maintainer-entry-profile.rst
Warning: MAINTAINERS references a file that doesn't exist: Documentation/filesystems/xfs-*
MAINTAINERS:53207: WARNING: unknown document: ../filesystems/xfs-maintainer-entry-profile

Oh dear, I didn't catch them when building locally. Will fix anyway.

Signature · 1 line
An old man doll... just what I always wanted! - Clara