[Pkg-clamav-devel] Bug#628611: havp: using a loopback filesystem without journal

Sebastian Andrzej Siewior sebastian at breakpoint.cc
Mon Jun 22 19:58:19 UTC 2015


Control: tags -1 pending

On 2011-05-30 19:21:54 [+0200], Laurent Baysse wrote:
> For performance reasons, it could be better to use an ext2 filesystem instead of an ext3 filesystem because of the journal.

Applied.
I don't like the whole design including the mandatory locking for this
"on-the-fly" scanning. I would simply create() + unlink() the file,
splice() it on download, scan it and then splice() to the user that
requested. I *think* that this would have less overhead but I have no
time for measuring it. Therefore I apply the patch.

Sebastian



More information about the Pkg-clamav-devel mailing list