diff options
author | Martin Brandenburg <martin@omnibond.com> | 2017-04-25 15:38:06 -0400 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2017-04-26 14:33:00 -0400 |
commit | b7a57ccab891584d00ae03dce1176b2d4cbe08e7 (patch) | |
tree | 066e124a463472b365a4933be82da9e5574d397c /lib/bch.c | |
parent | 9d286b0d8207a70d7e0ffbd5be864ff7a62de05a (diff) |
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>
Diffstat (limited to 'lib/bch.c')
0 files changed, 0 insertions, 0 deletions