]> git.ipfire.org Git - thirdparty/squid.git/commit
Report more detail about disk errors, especially the disker ID and db path.
authorAlex Rousskov <rousskov@measurement-factory.com>
Mon, 21 Jan 2013 23:04:45 +0000 (16:04 -0700)
committerAlex Rousskov <rousskov@measurement-factory.com>
Mon, 21 Jan 2013 23:04:45 +0000 (16:04 -0700)
commit4e4f7fd92d664af9928060a3f36873bc22ff8162
treeaf01a68961b4750e1a219dfa220cfd47c14bf64f
parent6d68a23059926e33ebb9a690614ab0e224a96e92
Report more detail about disk errors, especially the disker ID and db path.

On partial writes, try to write the leftovers a few times before giving up.
The caller is unlikely to employ a different strategy, and we can do that
faster. Current callers simply give up and declare an error. Partial disk
writes seem to be typical on overflowing disks, but there may be other
conditions we have not observed in the lab yet.
src/DiskIO/IpcIo/IpcIoFile.cc