orangefs: count directory pieces correctly
authorMartin Brandenburg <martin@omnibond.com>
Thu, 4 May 2017 17:16:04 +0000 (13:16 -0400)
committerMike Marshall <hubcap@omnibond.com>
Thu, 4 May 2017 18:38:24 +0000 (14:38 -0400)
commit2f713b5c7d2a90baba6c88174c81fb9a96bfde21
treef478c82f55b45d134f25c7ea99ad5bb6d06d3620
parent942835d68f6e16f2673c70791dc963c548681cb4
orangefs: count directory pieces correctly

A large directory full of differently sized file names triggered this.
Most directories, even very large directories with shorter names, would
be lucky enough to fit in one server response.

Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/dir.c