mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-10 14:02:43 +00:00
If READ from the local node failed we send the request to the remote
node. There is no use in doing this for synchronization requests. Approved by: pjd (mentor) MFC after: 1 week
This commit is contained in:
parent
b37ce15446
commit
a01a750f32
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=222467
@ -1243,7 +1243,7 @@ local_send_thread(void *arg)
|
||||
ggio->gctl_offset + res->hr_localoff);
|
||||
if (ret == ggio->gctl_length)
|
||||
hio->hio_errors[ncomp] = 0;
|
||||
else {
|
||||
else if (!ISSYNCREQ(hio)) {
|
||||
/*
|
||||
* If READ failed, try to read from remote node.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user