[pbs-devel] [PATCH v2 backup 13/27] add node config

Wolfgang Bumiller w.bumiller at proxmox.com
Thu Apr 29 15:15:04 CEST 2021


On Thu, Apr 29, 2021 at 02:40:39PM +0200, Dietmar Maurer wrote:
> We use replace_file() to atomically replace the config file, so
> why do we need a read_lock()?
> 
> A) We don't need it => remove it for your patch series
> 
> B) We need it for some reason => We need to add that for other config files
> too?

Sorry, saw this too late. Yeah, the read lock helper can be dropped.





More information about the pbs-devel mailing list