Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
eos
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
JIRA
JIRA
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dss
eos
Commits
fd0d8762
Commit
fd0d8762
authored
Feb 13, 2019
by
Elvin Sindrilaru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FST: Add log line about progress of TPC transfers greater than 10GB
parent
09fadc83
Pipeline
#705248
failed with stages
in 29 minutes and 55 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
XrdFstOfsFile.cc
fst/XrdFstOfsFile.cc
+5
-0
No files found.
fst/XrdFstOfsFile.cc
View file @
fd0d8762
...
...
@@ -2379,6 +2379,7 @@ XrdFstOfsFile::DoTpcTransfer()
int64_t
rbytes
=
0
;
int64_t
wbytes
=
0
;
off_t
offset
=
0
;
constexpr
uint64_t
eight_gb
=
8
*
(
2
^
30
);
std
::
unique_ptr
<
std
::
vector
<
char
>
>
buffer
(
new
std
::
vector
<
char
>
(
tpcIO
.
GetBlockSize
()));
eos_info
(
"msg=
\"
tpc pull
\"
"
);
...
...
@@ -2409,6 +2410,10 @@ XrdFstOfsFile::DoTpcTransfer()
wbytes
=
write
(
offset
,
&
((
*
buffer
)[
0
]),
rbytes
);
eos_debug
(
"msg=
\"
tpc write
\"
wbytes=%llu"
,
wbytes
);
if
(
offset
/
eight_gb
!=
(
offset
+
rbytes
)
/
eight_gb
)
{
eos_info
(
"msg=
\"
tcp write
\"
offset=%llu"
,
offset
);
}
if
(
rbytes
!=
wbytes
)
{
(
void
)
tpcIO
.
fileClose
();
eos_err
(
"msg=
\"
tpc transfer terminated - local write failed
\"
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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