Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Sep 2017 13:29:17 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Andreas Longwitz <longwitz@incore.de>
Cc:        Kirk McKusick <mckusick@mckusick.com>, freebsd-fs@freebsd.org
Subject:   Re: fsync: giving up on dirty on ufs partitions running vfs_write_suspend()
Message-ID:  <20170922102917.GC2271@kib.kiev.ua>
In-Reply-To: <59C4DF8D.5070004@incore.de>
References:  <201709110519.v8B5JVmf060773@chez.mckusick.com> <59BD0EAC.8030206@incore.de> <20170916183117.GF78693@kib.kiev.ua> <59C37F46.80509@incore.de> <20170921172902.GW78693@kib.kiev.ua> <59C4DF8D.5070004@incore.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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;
>         }




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170922102917.GC2271>