]> git.karo-electronics.de Git - karo-tx-linux.git/commit
orangefs: rewrite readdir to fix several bugs
authorMartin Brandenburg <martin@omnibond.com>
Tue, 25 Apr 2017 19:37:59 +0000 (15:37 -0400)
committerMike Marshall <hubcap@omnibond.com>
Wed, 26 Apr 2017 18:33:00 +0000 (14:33 -0400)
commit382f4581e67f57209c7aa67e39f26ba076306a2e
tree9c67a6908a2a25df062e3860220ba9028cd57c86
parent17930b252cd6f31163c259eaa99dd8aa630fb9ba
orangefs: rewrite readdir to fix several bugs

In the past, readdir assumed that the user buffer will be large enough
that all entries from the server will fit.  If this was not true,
entries would be skipped.

Since it works now, request 512 entries rather than 96 per server
operation.

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