Re: RFC: A configuration design for future-proofing fsync() configuration
- From
- Christoph Hellwig <hch@lst.de>
- Date
- Nov 12, 2021, 05:54 UTC
- Message-ID
- <20211112055421.GA27823@lst.de>
- In-Reply-To
- <20211111004724.GA839@neerajsi-x1.localdomain>
On Wed, Nov 10, 2021 at 04:47:24PM -0800, Neeraj Singh wrote:
Show 5 quoted lines
> It would be nice to loop in some Linux fs developers to find out what can be > done on current implementations to get the durability without terrible > performance. From reading the docs and mailing threads it looks like the > sync_file_range + bulk fsync approach should actually work on the current XFS > implementation.
If you want more than just my advice linux-fsdevel@vger.kernel.org is a good place to find a wide range of opinions.
Anyway, I think syncfs is the biggest band for the buck as it will give you very efficient syncing with very little overhead in git, but it does have a huge noisy neighbor problem that might make it unattractive for multi-tenant file systems or git hosting.