implement a background writer for pf GCD