]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Orangefs: added a couple of WARN_ONs, perhaps just temporarily.
authorMike Marshall <hubcap@omnibond.com>
Thu, 4 Feb 2016 21:28:31 +0000 (16:28 -0500)
committerMike Marshall <hubcap@omnibond.com>
Thu, 4 Feb 2016 21:28:31 +0000 (16:28 -0500)
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
fs/orangefs/file.c
fs/orangefs/waitqueue.c

index 7e6fe8d8ab2b2133faa2d5b1c809f04eadf58255..d865b58fb1fc0bbb4311a4b2ab8be03d7fc6b4a8 100644 (file)
@@ -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;
index cdbf57bef3ebbac45c11c9ab4e2ab5342c09066e..191d886ccc574a9ac467ebfc81c7f56cda00e82f 100644 (file)
@@ -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