diff options
author | Mike Marshall <hubcap@omnibond.com> | 2016-02-04 22:28:31 +0100 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2016-02-04 22:28:31 +0100 |
commit | 6ebcc3fcdac1f70078a02ab11f2aa5a88a4fdaee (patch) | |
tree | ed020ce4a0e95277b70349d668550ccfadcd70bc /fs | |
parent | orangefs: Do not retrieve size from servers unless it it necessary. (diff) | |
download | linux-6ebcc3fcdac1f70078a02ab11f2aa5a88a4fdaee.tar.xz linux-6ebcc3fcdac1f70078a02ab11f2aa5a88a4fdaee.zip |
Orangefs: added a couple of WARN_ONs, perhaps just temporarily.
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/orangefs/file.c | 1 | ||||
-rw-r--r-- | fs/orangefs/waitqueue.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/fs/orangefs/file.c b/fs/orangefs/file.c index 7e6fe8d8ab2b..d865b58fb1fc 100644 --- a/fs/orangefs/file.c +++ b/fs/orangefs/file.c @@ -250,6 +250,7 @@ populate_shared_memory: * put error codes in downcall so that handle_io_error() * preserves it properly */ + WARN_ON(!op_state_serviced(new_op)); new_op->downcall.status = ret; handle_io_error(); goto out; diff --git a/fs/orangefs/waitqueue.c b/fs/orangefs/waitqueue.c index cdbf57bef3eb..191d886ccc57 100644 --- a/fs/orangefs/waitqueue.c +++ b/fs/orangefs/waitqueue.c @@ -205,6 +205,7 @@ retry_servicing: /* op uses shared memory */ if (orangefs_get_bufmap_init() == 0) { + WARN_ON(1); /* * This operation uses the shared memory system AND * the system is not yet ready. This situation occurs |