fsync: giving up on dirty on ufs partitions running vfs_write_suspend()
Konstantin Belousov
kostikbel at gmail.com
Fri Sep 22 10:29:25 UTC 2017
On Fri, Sep 22, 2017 at 12:01:49PM +0200, Andreas Longwitz wrote:
> Patch against HEAD:
Of course I meant the patch which waits for secondary writers to pass.
> --- vfs_default.c.orig 2017-09-22 11:56:26.950084000 +0200
> +++ vfs_default.c 2017-09-22 11:58:33.211196000 +0200
> @@ -690,6 +690,8 @@
> bremfree(bp);
> bawrite(bp);
> }
> + if( maxretry < 1000)
> + DELAY(1000); /* 1 ms */
> BO_LOCK(bo);
> goto loop2;
> }
More information about the freebsd-fs
mailing list