Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Branch HEAD
[fs/lustre-release.git]
/
lustre
/
ptlrpc
/
ptlrpc_internal.h
diff --git
a/lustre/ptlrpc/ptlrpc_internal.h
b/lustre/ptlrpc/ptlrpc_internal.h
index
c2610aa
..
efa11e5
100644
(file)
--- a/
lustre/ptlrpc/ptlrpc_internal.h
+++ b/
lustre/ptlrpc/ptlrpc_internal.h
@@
-157,7
+157,7
@@
int ptlrpc_expire_one_request(struct ptlrpc_request *req);
/* pers.c */
void ptlrpc_fill_bulk_md(lnet_md_t *md, struct ptlrpc_bulk_desc *desc);
/* pers.c */
void ptlrpc_fill_bulk_md(lnet_md_t *md, struct ptlrpc_bulk_desc *desc);
-void ptlrpc_add_bulk_page(struct ptlrpc_bulk_desc *desc, cfs_page_t *page,
+void ptlrpc_add_bulk_page(struct ptlrpc_bulk_desc *desc, cfs_page_t *page,
int pageoffset, int len);
void ptl_rpc_wipe_bulk_pages(struct ptlrpc_bulk_desc *desc);
int pageoffset, int len);
void ptl_rpc_wipe_bulk_pages(struct ptlrpc_bulk_desc *desc);
@@
-197,8
+197,6
@@
int sptlrpc_lproc_init(void);
void sptlrpc_lproc_fini(void);
/* sec_gc.c */
void sptlrpc_lproc_fini(void);
/* sec_gc.c */
-void sptlrpc_gc_add_sec(struct ptlrpc_sec *sec);
-void sptlrpc_gc_del_sec(struct ptlrpc_sec *sec);
int sptlrpc_gc_start_thread(void);
void sptlrpc_gc_stop_thread(void);
int sptlrpc_gc_start_thread(void);
void sptlrpc_gc_stop_thread(void);
@@
-206,4
+204,8
@@
void sptlrpc_gc_stop_thread(void);
int __init sptlrpc_init(void);
void __exit sptlrpc_fini(void);
int __init sptlrpc_init(void);
void __exit sptlrpc_fini(void);
+static inline int ll_rpc_recoverable_error(int rc)
+{
+ return (rc == -ENOTCONN || rc == -ENODEV);
+}
#endif /* PTLRPC_INTERNAL_H */
#endif /* PTLRPC_INTERNAL_H */