pfnet / pfio

IO library to access various filesystems with unified API
https://pfio.readthedocs.io/
MIT License
52 stars 21 forks source link

Remove reset_on_fork parameter #297

Closed y1r closed 1 year ago

y1r commented 1 year ago

Fixes https://github.com/pfnet/pfio/issues/296

I've found that, in zip + SparseFileCache case, we always use MPCachedWrapper instead of CachedWrapper because we don't have prior information of fork existence by reset_on_fork parameter. This may introduce performance decrease by flock(2).

y1r commented 1 year ago

@kuenishi Thank you for your review.

https://github.com/pfnet/pfio/pull/297/commits/0ee12550773c2c483ec6a49816db5c03c0f2d4d5 addresses your review comments: