Include error number in the "fsync: giving up on dirty" message
(in case it ever starts happening again in spite of 328444). Submitted by: Andreas Longwitz <longwitz at incore.de>
This commit is contained in:
parent
2e7e6fbce5
commit
16680b6af5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=329880
@ -714,12 +714,13 @@ vop_stdfsync(ap)
|
||||
if ((mp != NULL && mp->mnt_secondary_writes > 0) ||
|
||||
(error == 0 && --maxretry >= 0))
|
||||
goto loop1;
|
||||
error = EAGAIN;
|
||||
if (error == 0)
|
||||
error = EAGAIN;
|
||||
}
|
||||
}
|
||||
BO_UNLOCK(bo);
|
||||
if (error == EAGAIN)
|
||||
vn_printf(vp, "fsync: giving up on dirty ");
|
||||
if (error != 0)
|
||||
vn_printf(vp, "fsync: giving up on dirty (error = %d) ", error);
|
||||
|
||||
return (error);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user