From f35ad166be284a92721a3e6ee060740cd03e031c Mon Sep 17 00:00:00 2001
From: Morris Jette <jette@schedmd.com>
Date: Mon, 2 Jul 2012 10:03:04 -0700
Subject: [PATCH] Note maximum gres count is 4G

---
 doc/man/man5/gres.conf.5  | 4 +++-
 doc/man/man5/slurm.conf.5 | 3 ++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/doc/man/man5/gres.conf.5 b/doc/man/man5/gres.conf.5
index 455a03d1b46..09413dc52c4 100644
--- a/doc/man/man5/gres.conf.5
+++ b/doc/man/man5/gres.conf.5
@@ -1,4 +1,4 @@
-.TH "gres.conf" "5" "April 2012" "gres.conf 2.3" "Slurm configuration file"
+.TH "gres.conf" "5" "July 2012" "gres.conf 2.3" "Slurm configuration file"
 .SH "NAME"
 gres.conf \- Slurm configuration file for generic resource management.
 
@@ -28,6 +28,8 @@ Number of resources of this type available on this node.
 The default value is set to the number of \fBFile\fR values specified (if any),
 otherwise the default value is one. A suffix of "K", "M" or "G" may be used
 to mulitply the number by 1024, 1048576 or 1073741824 respectively.
+Note that Count is a 32\-bit field and the maximum value is 4,294,967,295.
+ 
 
 .TP
 \fBCPUs\fR
diff --git a/doc/man/man5/slurm.conf.5 b/doc/man/man5/slurm.conf.5
index 218505ecb87..023d8cdd8c2 100644
--- a/doc/man/man5/slurm.conf.5
+++ b/doc/man/man5/slurm.conf.5
@@ -2371,7 +2371,8 @@ colon with a numeric value (default value is one)
 (e.g. "Gres=bandwidth:10000,gpu:2").
 A suffix of "K", "M" or "G" may be used to mulitply the number by 1024,
 1048576 or 1073741824 respectively (e.g. "Gres=bandwidth:4G,gpu:4")..
-By default a node has no generic resources.
+By default a node has no generic resources and its maximum count is
+4,294,967,295.
 Also see \fBFeature\fR.
 
 .TP
-- 
GitLab