Skip to contentSkip to conversation

xfsprogs: document dax in xfs.5 and other minor fixes

PATCH In review Eric Sandeen 3 participants 4 messages Aug 21, 2015 – Aug 24, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfsprogs: document dax in xfs.5 and other minor fixes

Document the dax option, fix whitespace around logdev/rtdev, and add missing qnoenforce.

---

man/man5/xfs.5 +8 -2
index 3214455..fc1b776 100644
@@ -140,6 +140,12 @@ devices that support write barriers.
 .sp
 Barriers are enabled by default.
 .TP
+.BR dax
+Use direct access (no page cache) for block devices which are
+memory-like, performing reads and writes directly to the storage
+device.  See Documentation/filesystems/dax.txt in the kernel
+documentation for more information.
+.TP
 .BR discard | nodiscard
 Enable/disable the issuing of commands to let the block
 device reclaim space freed by the filesystem.  This is
@@ -229,7 +235,7 @@ stripe unit configured at mkfs time.
 The default value for version 1 logs is 32768, while the
 default value for version 2 logs is MAX(32768, log_sunit).
 .TP
-.BR logdev=device and rtdev=device
+.BR logdev=device " and " rtdev=device
 Use an external log (metadata journal) and/or real-time device.
 An XFS filesystem has up to three parts: a data section, a log
 section, and a real-time section.  The real-time section is
@@ -260,7 +266,7 @@ read-only snapshots.
 Forcibly turns off all quota accounting and enforcement
 within the filesystem.
 .TP
-.B uquota/usrquota/uqnoenforce/quota
+.B uquota/usrquota/uqnoenforce/qnoenforce/quota
 User disk quota accounting enabled, and limits (optionally)
 enforced.  Refer to xfs_quota(8) for further details.
 .TP

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#1 lore raw
Quoted 4 lines · Eric Sandeen

Document the dax option, fix whitespace around logdev/rtdev, and add missing qnoenforce.

No, I don't want the DAX mount option documented. As the code says:

#define XFS_MOUNT_DAX (1ULL << 62) /* TEST ONLY! */

The mount option needs to go away and be replaced by on-disk inheritable per-inode flags. I have the kernel patch to do this, but I have not written the xfs_io patch to get/set/clear the flags yet.

Cheers,

Dave.

Signature · 7 lines
Dave Chinner
[email protected]

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
#2 lore raw
Quoted 10 lines · Dave Chinner
Quoted 4 lines · Eric Sandeen

Document the dax option, fix whitespace around logdev/rtdev, and add missing qnoenforce.

No, I don't want the DAX mount option documented. As the code says:

#define XFS_MOUNT_DAX (1ULL << 62) /* TEST ONLY! */

Quoted 8 lines

The mount option needs to go away and be replaced by on-disk inheritable per-inode flags. I have the kernel patch to do this, but I have not written the xfs_io patch to get/set/clear the flags yet.

Cheers,

Dave.

Ok. I'll resend the other minor fixups on their own.

-Eric

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs

#3 lore raw

PATCH v2 1/1 xfsprogs: Minor fixes for xfs.5

In reply to Eric Sandeen

Fix whitespace around logdev/rtdev mount option,
and add missing qnoenforce.

---

man/man5/xfs.5 +2 -2
index 3214455..fc1b776 100644
@@ -229,7 +235,7 @@ stripe unit configured at mkfs time.
 The default value for version 1 logs is 32768, while the
 default value for version 2 logs is MAX(32768, log_sunit).
 .TP
-.BR logdev=device and rtdev=device
+.BR logdev=device " and " rtdev=device
 Use an external log (metadata journal) and/or real-time device.
 An XFS filesystem has up to three parts: a data section, a log
 section, and a real-time section.  The real-time section is
@@ -260,7 +266,7 @@ read-only snapshots.
 Forcibly turns off all quota accounting and enforcement
 within the filesystem.
 .TP
-.B uquota/usrquota/uqnoenforce/quota
+.B uquota/usrquota/quota/uqnoenforce/qnoenforce
 User disk quota accounting enabled, and limits (optionally)
 enforced.  Refer to xfs_quota(8) for further details.
 .TP

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs