Closed y1r closed 1 year ago
@kuenishi Thank you for your review.
https://github.com/pfnet/pfio/pull/297/commits/0ee12550773c2c483ec6a49816db5c03c0f2d4d5 addresses your review comments:
ForkedError
againmultiprocessing.get_start_method()
in the constructor of HDFS to inform users earlyForkedError
in _reset()
if start_method is not forkserver
.
Fixes https://github.com/pfnet/pfio/issues/296
reset_on_fork
parameter from all FS implementationsForkedError
because we don't need it now~reset_on_fork
parameter check onfrom_url
to notify the deprecationI'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 byflock(2)
.