Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
6ebcc3fc
Commit
6ebcc3fc
authored
Feb 04, 2016
by
Mike Marshall
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Orangefs: added a couple of WARN_ONs, perhaps just temporarily.
Signed-off-by:
Mike Marshall
<
hubcap@omnibond.com
>
parent
237f8282
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
fs/orangefs/file.c
fs/orangefs/file.c
+1
-0
fs/orangefs/waitqueue.c
fs/orangefs/waitqueue.c
+1
-0
No files found.
fs/orangefs/file.c
View file @
6ebcc3fc
...
...
@@ -250,6 +250,7 @@ static ssize_t wait_for_direct_io(enum ORANGEFS_io_type type, struct inode *inod
* 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
;
...
...
fs/orangefs/waitqueue.c
View file @
6ebcc3fc
...
...
@@ -205,6 +205,7 @@ int service_operation(struct orangefs_kernel_op_s *op,
/* 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment