]> Sergey Matveev's repositories - public-inbox.git/commit
ds: deal better with FS-related errors IO buffers
authorEric Wong <e@80x24.org>
Mon, 24 Jun 2019 02:52:36 +0000 (02:52 +0000)
committerEric Wong <e@80x24.org>
Mon, 24 Jun 2019 05:26:26 +0000 (05:26 +0000)
commit03b8f86532a29d0cb129ff6e8d3ddf2d51deb2f8
tree4a946ba9c7a4bbce1aac9d2429a81e9f19c27c33
parenta3c27256d273492e1c9ee464dabda2c7ed4019c2
ds: deal better with FS-related errors IO buffers

Instead of ENOMEM (or fragmentation/swap storms), using tempfile
buffers opens us up to filesystem and storage-related errors
(e.g. ENOSPC, EFBIG, EIO, EROFS).  Log these errors, drop the
particular client, and try to limp by with whateve we have left.
lib/PublicInbox/DS.pm