Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
9a6c7f13
Commit
9a6c7f13
authored
Aug 16, 2014
by
Elvin Sindrilaru
Browse files
XROOTD: Remove verbose opaque info printout when doing an open on the diskserver
Fix timing printout
parent
8a13226e
Changes
2
Hide whitespace changes
Inline
Side-by-side
xrootd/XrdxCastor2Ofs.cpp
View file @
9a6c7f13
...
...
@@ -292,7 +292,7 @@ XrdxCastor2OfsFile::open(const char* path,
xcastor
::
Timing
open_timing
(
"open"
);
TIMING
(
"START"
,
&
open_timing
);
XrdOucString
spath
=
path
;
xcastor_debug
(
"path=%s
, opaque=%s"
,
path
,
opaque
);
xcastor_debug
(
"path=%s
"
,
path
);
XrdOucString
newpath
=
""
;
XrdOucString
newopaque
=
opaque
;
...
...
@@ -532,12 +532,13 @@ XrdxCastor2OfsFile::close()
sz_file
=
mStatInfo
.
st_size
;
}
int
errorcode
=
(
rc
?
error
.
getErrInfo
()
:
rc
);
char
*
errormsg
=
(
rc
?
(
char
*
)
error
.
getErrText
()
:
(
char
*
)
0
);
int
errc
=
(
rc
?
error
.
getErrInfo
()
:
rc
);
char
*
errmsg
=
(
rc
?
(
char
*
)
error
.
getErrText
()
:
(
char
*
)
0
);
xcastor_info
(
"send diskmgr errc=%i, errmsg=%s"
,
errc
,
(
errmsg
?
errmsg
:
""
));
int
dm_errno
=
mover_close_file
(
mDiskMgrPort
,
mReqId
.
c_str
(),
sz_file
,
const_cast
<
const
char
*>
(
ckSumalg
),
const_cast
<
const
char
*>
(
ckSumbuf
),
&
err
orcode
,
&
err
or
msg
);
&
err
c
,
&
errmsg
);
// If failed to commit to diskmanager then return error
if
(
dm_errno
)
...
...
xrootd/XrdxCastor2Timing.cpp
View file @
9a6c7f13
...
...
@@ -91,7 +91,7 @@ Timing::Print()
maintag
.
c_str
(),
p
->
tag
.
c_str
(),
n
->
tag
.
c_str
(),
(
float
)((
n
->
tv
.
tv_sec
-
p
->
tv
.
tv_sec
)
*
1000000
+
(
n
->
tv
.
tv_usec
-
p
->
tv
.
tv_usec
))
/
1000.0
);
cerr
<<
msg
;
cerr
<<
msg
<<
std
::
endl
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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