From 3a4ee02dff6c5ab16be9e32cacac5a5450dc82a6 Mon Sep 17 00:00:00 2001 From: yury Date: Sat, 7 Oct 2006 17:42:24 +0000 Subject: [PATCH] - changes in comments. --- lustre/fid/fid_request.c | 14 +++++++++----- lustre/lmv/lmv_obd.c | 4 ++-- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/lustre/fid/fid_request.c b/lustre/fid/fid_request.c index 2340293..3b7d1d2 100644 --- a/lustre/fid/fid_request.c +++ b/lustre/fid/fid_request.c @@ -257,8 +257,10 @@ int seq_client_alloc_fid(struct lu_client_seq *seq, struct lu_fid *fid) { seqno_t seqnr; - /* allocate new sequence for case client has no sequence at all - * or sequence is exhausted and should be switched. */ + /* + * Allocate new sequence for case client has no sequence at all + * or sequence is exhausted and should be switched. + */ rc = __seq_client_alloc_seq(seq, &seqnr); if (rc) { CERROR("%s: Can't allocate new sequence, " @@ -271,11 +273,13 @@ int seq_client_alloc_fid(struct lu_client_seq *seq, struct lu_fid *fid) seq->lcs_fid.f_seq = seqnr; seq->lcs_fid.f_ver = 0; - /* inform caller that sequence switch is performed to allow it - * to setup FLD for it. */ + /* + * Inform caller that sequence switch is performed to allow it + * to setup FLD for it. + */ rc = 1; - CDEBUG(D_INFO|D_WARNING, "%s: New sequence - "LPX64"\n", + CDEBUG(D_INFO|D_WARNING, "%s: Switch to sequence ["LPX64"]\n", seq->lcs_name, seqnr); } else { seq->lcs_fid.f_oid++; diff --git a/lustre/lmv/lmv_obd.c b/lustre/lmv/lmv_obd.c index b470c2b..5a66ca7 100644 --- a/lustre/lmv/lmv_obd.c +++ b/lustre/lmv/lmv_obd.c @@ -770,8 +770,8 @@ static int lmv_placement_policy(struct obd_device *obd, lmv_obj_put(obj); GOTO(exit, rc); } - CDEBUG(D_INODE, "the obj "DFID" has been" - "splitted,got MDS at "LPU64" by name %s\n", + CDEBUG(D_INODE, "The obj "DFID" has been" + "split, got MDS at "LPU64" by name %s\n", PFID(hint->ph_pfid), *mds, hint->ph_cname->name); -- 1.8.3.1