Re: [Mesa-dev] [PATCH 1/2] util/disk_cache: delete .tmp if target exists

2017-03-19 Thread Timothy Arceri
On 19/03/17 07:58, Grazvydas Ignotas wrote: At the time of target file check, .tmp file is already created and file lock is held, so we should remove the .tmp, like in other error paths. With this, piglit no longer leaves large amount of empty .tmp files behind, which waste directory entries and

[Mesa-dev] [PATCH 1/2] util/disk_cache: delete .tmp if target exists

2017-03-18 Thread Grazvydas Ignotas
At the time of target file check, .tmp file is already created and file lock is held, so we should remove the .tmp, like in other error paths. With this, piglit no longer leaves large amount of empty .tmp files behind, which waste directory entries and may interfere with eviction. Signed-off-by: