]> git.baikalelectronics.ru Git - kernel.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)
commite30abba7ce9bc006ecfeb58845d65ac44dffdb59
tree9c67a6908a2a25df062e3860220ba9028cd57c86
parent7b6c88b40137df61b45803db9cadb8efe2a04787
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