Re: Optimizing writes to unchanged files during merges?
- From
Stefan Beller <sbeller@google.com>
- Date
- Apr 13, 2018, 17:39 UTC
- Message-ID
- <CAGZ79kbs0heVvqMf2cjBtxtYs48CFFaM+9+YzB6gUwzWScvr=A@mail.gmail.com>
- In-Reply-To
- <CA+55aFwi9pTAJT_qtv=vHLgu=B1fdXBoD96i8Y5xnbS=zrfSzg@mail.gmail.com>
Hi Linus,
On Fri, Apr 13, 2018 at 10:14 AM, Linus Torvalds <torvalds@linux-foundation.org> wrote:
> > Comments? Because considering the problems this code has had, maybe > "stupid" really is the right approach...
Would s/read/xread/ make sense in working_tree_matches ? If read returns unexpectedly due to EINTR or EAGAIN, this is no correctness issue, but you'd have to recompile the kernel.
Stefan