]> git.baikalelectronics.ru Git - kernel.git/commit
orangefs: return from orangefs_devreq_read quickly if possible
authorMartin Brandenburg <martin@omnibond.com>
Tue, 25 Apr 2017 19:38:06 +0000 (15:38 -0400)
committerMike Marshall <hubcap@omnibond.com>
Wed, 26 Apr 2017 18:33:00 +0000 (14:33 -0400)
commitedab6e74d7c363d7277275624c6bcd2b30820bdb
tree066e124a463472b365a4933be82da9e5574d397c
parentbf9d625b5cb644b06c8d49d2a3c0a4d7799c2ba9
orangefs: return from orangefs_devreq_read quickly if possible

It is not necessary to take the lock and search through the request list
if the list is empty.

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