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
LU-14187 osd-ldiskfs: fix locking in write commit
[fs/lustre-release.git]
/
lustre
/
include
/
uapi
/
linux
/
lustre
/
lustre_idl.h
diff --git
a/lustre/include/uapi/linux/lustre/lustre_idl.h
b/lustre/include/uapi/linux/lustre/lustre_idl.h
index
caeb244
..
84f118d
100644
(file)
--- a/
lustre/include/uapi/linux/lustre/lustre_idl.h
+++ b/
lustre/include/uapi/linux/lustre/lustre_idl.h
@@
-1391,12
+1391,16
@@
struct hsm_state_set {
OBD_BRW_OVER_GRPQUOTA | \
OBD_BRW_OVER_PRJQUOTA)
OBD_BRW_OVER_GRPQUOTA | \
OBD_BRW_OVER_PRJQUOTA)
+#define OBD_BRW_DONE 0x40000000UL /*
+ * osd-ldiskfs inernal,
+ * IO has been issued before
+ */
#define OBD_BRW_LOCAL1 0x80000000UL /*
* osd-ldiskfs internal,
* page mapped to real block
*/
#define OBD_BRW_LOCAL1 0x80000000UL /*
* osd-ldiskfs internal,
* page mapped to real block
*/
-#define OBD_BRW_LOCALS (OBD_BRW_LOCAL1)
+#define OBD_BRW_LOCALS (OBD_BRW_LOCAL1
| OBD_BRW_DONE
)
#define OBD_MAX_GRANT 0x7fffffffUL /* Max grant allowed to one client: 2 GiB */
#define OBD_MAX_GRANT 0x7fffffffUL /* Max grant allowed to one client: 2 GiB */