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-6158 mdt: always shrink_capsule in getxattr_all
[fs/lustre-release.git]
/
lustre
/
mdt
/
mdt_coordinator.c
diff --git
a/lustre/mdt/mdt_coordinator.c
b/lustre/mdt/mdt_coordinator.c
index
72ab938
..
27ff1e3
100644
(file)
--- a/
lustre/mdt/mdt_coordinator.c
+++ b/
lustre/mdt/mdt_coordinator.c
@@
-38,12
+38,14
@@
#define DEBUG_SUBSYSTEM S_MDS
#define DEBUG_SUBSYSTEM S_MDS
+#include <linux/kthread.h>
#include <obd_support.h>
#include <lustre_net.h>
#include <lustre_export.h>
#include <obd.h>
#include <lprocfs_status.h>
#include <lustre_log.h>
#include <obd_support.h>
#include <lustre_net.h>
#include <lustre_export.h>
#include <obd.h>
#include <lprocfs_status.h>
#include <lustre_log.h>
+#include <lustre_kernelcomm.h>
#include "mdt_internal.h"
static struct lprocfs_vars lprocfs_mdt_hsm_vars[];
#include "mdt_internal.h"
static struct lprocfs_vars lprocfs_mdt_hsm_vars[];
@@
-185,8
+187,8
@@
static int mdt_coordinator_cb(const struct lu_env *env,
cdt->cdt_max_requests)
break;
cdt->cdt_max_requests)
break;
- /* first search
if the request if known in the list we hav
e
- *
build
and if there is room in the request vector */
+ /* first search
whether the request is found in the list w
e
+ *
have built
and if there is room in the request vector */
empty_slot = -1;
found = -1;
for (i = 0; i < hsd->max_requests &&
empty_slot = -1;
found = -1;
for (i = 0; i < hsd->max_requests &&
@@
-1400,7
+1402,7
@@
unlock:
struct cdt_restore_handle *crh;
/* restore in data FID done, we swap the layouts
struct cdt_restore_handle *crh;
/* restore in data FID done, we swap the layouts
- * only if restore is successful
l
*/
+ * only if restore is successful */
if (pgs->hpk_errval == 0) {
rc = hsm_swap_layouts(mti, &car->car_hai->hai_fid,
&car->car_hai->hai_dfid, &mh);
if (pgs->hpk_errval == 0) {
rc = hsm_swap_layouts(mti, &car->car_hai->hai_fid,
&car->car_hai->hai_dfid, &mh);
@@
-1711,7
+1713,7
@@
out:
}
/**
}
/**
- * check if a request is comp
ta
ible with file status
+ * check if a request is comp
at
ible with file status
* \param hai [IN] request description
* \param hal_an [IN] request archive number (not used)
* \param rq_flags [IN] request flags
* \param hai [IN] request description
* \param hal_an [IN] request archive number (not used)
* \param rq_flags [IN] request flags