Received: by 10.223.164.202 with SMTP id h10csp3713260wrb; Sat, 25 Nov 2017 15:20:20 -0800 (PST) X-Google-Smtp-Source: AGs4zMZTTHw4FI/gCm4x1qUMkMl8gWjKX8Oyjwvvo9gEN2ecDfpMi02FJmctr1oTOEhJ/a9NEVOR X-Received: by 10.98.201.216 with SMTP id l85mr12414843pfk.217.1511652019932; Sat, 25 Nov 2017 15:20:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511652019; cv=none; d=google.com; s=arc-20160816; b=lp3za2l9MQf2Pa9YSkQPY2RfauvuokLr6W1CT6E3GzrGqoY457QuYq/a5/XVZyDSOF youhHnloJtrJoKaMj6YXc5Edk7b38ByE3jNp7MiZTruHXbw8j8nos4cY3p544EPtm/cD 1cENSEpifJcfmjz/gbPK3V9QW6Qbj0WivEw+Jg2SjW2z2MFkBtVDjPAha5PFXtCyOZ9M 4Z18V3TECzNQ9oExwKlZAHwJAqou1qaBXKpxsWrfBWUu4KGQdjug0umleKPuMTe/QzbB 92d9wIPOouNFXps+JzOLnptljR1j/FpkJn/LIPwzcNlGUdaGWW9rjXr3hnBXRCQyy+wT uuKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:content-id:mime-version :subject:cc:to:references:in-reply-to:from:organization :arc-authentication-results; bh=YILj27Y/e5Mll2Itfto+bogC9QyfqyQHKuLQpmNB0kg=; b=q44nIZGB3+VOHuA/nzqkoNdaWgajpQo5ODFxIt4zhKeW/bggU3vrr+fVyNztATImAA iySoL/HY8N6sA6oVnz+6JfAv4g12ZMtfwGsHDiyaVtePdae1aP5kb7+t2RiPXIjNioHw 29Im5A/hSeavkpN0jJFsgiL5t0iQUI6mEhujZjPHe1VoJzR8Nh1EfMhW2IF08Lf7i16F S85JIs62BgBQP3lVReOCCem3G9Fs/P5WSjss6wYxhM/KXm7WVuXj6pKC1KoWJZAvdz/8 72gbFgEZ1xvaswB8++Bdb6Y000CJlkWXnN649opp2Dz6imHCxS6p93hucWtJA6ywHJj8 b3rQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f15si21177014plr.237.2017.11.25.15.20.07; Sat, 25 Nov 2017 15:20:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751793AbdKYXTc (ORCPT + 81 others); Sat, 25 Nov 2017 18:19:32 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44310 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751252AbdKYXTb (ORCPT ); Sat, 25 Nov 2017 18:19:31 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 090ED7E42F; Sat, 25 Nov 2017 23:19:31 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-120-208.rdu2.redhat.com [10.10.120.208]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1F5A15C54F; Sat, 25 Nov 2017 23:19:29 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: References: <26247.1511533324@warthog.procyon.org.uk> <23134.1511649343@warthog.procyon.org.uk> To: Linus Torvalds Cc: dhowells@redhat.com, linux-afs@lists.infradead.org, linux-fsdevel , Linux Kernel Mailing List Subject: Re: [GIT PULL] afs: Fixes MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <25483.1511651969.1@warthog.procyon.org.uk> Date: Sat, 25 Nov 2017 23:19:29 +0000 Message-ID: <25484.1511651969@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Sat, 25 Nov 2017 23:19:31 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linus Torvalds wrote: > However, even when you do that, the page can be writable in other > mappings. At least fork(), for example, only clears the dirty bit, > doesn't mark it write-protected. I assumed the rmap walk done by page_mkclean() would take care of that but I'm not really clear on what the code does. > I just hope that the inconsistency isn't fatal to the afs client or > server code. For example, if you retry writes forever when a checksum > were to not match the data, that would be bad. Shouldn't be a problem for the the in-Linux client. Data is copied into sk_bufs preparatory to doing further things to it like checksumming, encryption or transmission (actually, in future, I would like to use the encryption process to save on the copy, but this shouldn't bother that either). AFAIK, the servers are all userspace jobs that don't let anyone else touch their storage so that they can maintain correctness on the data version number of each vnode. > so I just wanted to bring this up as a potential issue, not > necessarily as a big problem. Thanks. David From 1585080506133673956@xxx Sat Nov 25 22:56:08 +0000 2017 X-GM-THRID: 1584957627109406089 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread