Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8936903ybl; Fri, 17 Jan 2020 03:44:04 -0800 (PST) X-Google-Smtp-Source: APXvYqxjBoM1ad6aMosLRoyb4kmXJKXW/U4DpDA2dwFgRMF1MElUPs944svmqQQLQItiOFWvkB00 X-Received: by 2002:aca:4306:: with SMTP id q6mr3098772oia.54.1579261443897; Fri, 17 Jan 2020 03:44:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579261443; cv=none; d=google.com; s=arc-20160816; b=l4EvRU840pD4/CcfM1RT0eQ+jp/ExeH47aBMDN0uzGATgMwuXhxbPOxBQQbDbWQd/J S5DSC5oZ+tY0BInw7p+IXHfJOdrtMr0IOUFfTA2RzpMZ9D6IiXYCohRGJ0+3HpxNCRWB hIq9Sdfd1DTMwspuqkQC55ted8BH8Q8tJzzD65oUdFEftGGnIlY4Drs48wC+QKFNfZc+ 3lJ9j0Em8XWnaeaCQA8rS5nOuEi1u2xj9NDCX08UvqmmZDYMOT7fA58ZtlGBwrfXpUMu UaXPBo7oZ8te/l7qWg65uVqtKWkKnTX8D18+yDFbihoh9KxnHdp/bkW2Z2SBNqubbP32 zfTA== 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-transfer-encoding :content-id:mime-version:subject:cc:to:references:in-reply-to:from :organization:dkim-signature; bh=Gd8m04MBeBFjlqqhoY1pGB2lRynPKyQkVinKGfYGuLE=; b=oS4ba4LaAMFCLRyQKdFkVFXu6Pxr5glJHm4yfGE4rBKJUdtH2nt0xurUENpgy9uL9i qavdlUqGDvAcrTb+fBkUulrghMl1NBJNIrM9VH+wAyPid3+8UmCUitIzFST/22ePJaIE y5BtmbR4QfTzo4jThyCT/PgwRJ7zE7VosKkCte3dtQ66qabKmAel3WCgTjKl1imlTEzz 4RyIz/YGu7LoAVS4sBvzrZ2SDvoRkvnxvem5Hro76KcP2hzGDI0BZBiFq5MoZpqLRPgt M55wbIFUzCTSwN0HoeJHoXBH6IDhEskE+hl+vGX/6L3A9RHCxoJKaINkRv9ETQ9luQj9 2jSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ro6qziJX; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (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 d5si12539654otp.174.2020.01.17.03.43.48; Fri, 17 Jan 2020 03:44:03 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ro6qziJX; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727195AbgAQLnK (ORCPT + 99 others); Fri, 17 Jan 2020 06:43:10 -0500 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:33502 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727285AbgAQLnG (ORCPT ); Fri, 17 Jan 2020 06:43:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579261385; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Gd8m04MBeBFjlqqhoY1pGB2lRynPKyQkVinKGfYGuLE=; b=Ro6qziJXNxPLuSws0aZLi8pWmdSQq1iuWy+uronljlXTvn3fo7wTUDUR+PYZPLfFypfLKf jLYxbuEUdcdceW1ZtOhmVk/gBADym01GMgtreDsji9kCibUiWzuMml812mvP1t4do1PZYJ dRWKE1C60cm6xGWQAlFSaEVOOrsVx0I= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-144-3ZtNOC-EPnyeBRrPstvaeQ-1; Fri, 17 Jan 2020 06:43:02 -0500 X-MC-Unique: 3ZtNOC-EPnyeBRrPstvaeQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 90542108597A; Fri, 17 Jan 2020 11:42:59 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-120-49.rdu2.redhat.com [10.10.120.49]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6F88910013A1; Fri, 17 Jan 2020 11:42:56 +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: <2397bb4a-2ca2-4b44-8c79-64efba9aa04d@www.fastmail.com> References: <2397bb4a-2ca2-4b44-8c79-64efba9aa04d@www.fastmail.com> <20200114170250.GA8904@ZenIV.linux.org.uk> <3326.1579019665@warthog.procyon.org.uk> <9351.1579025170@warthog.procyon.org.uk> To: Omar Sandoval Cc: dhowells@redhat.com, "Colin Walters" , "Al Viro" , linux-fsdevel@vger.kernel.org, "Christoph Hellwig" , "Theodore Ts'o" , adilger.kernel@dilger.ca, "Darrick J. Wong" , "Chris Mason" , josef@toxicpanda.com, dsterba@suse.com, linux-ext4 , xfs , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Making linkat() able to overwrite the target MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <359590.1579261375.1@warthog.procyon.org.uk> Content-Transfer-Encoding: quoted-printable Date: Fri, 17 Jan 2020 11:42:55 +0000 Message-ID: <359591.1579261375@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Hi Omar, Do you still have your AT_REPLACE patches? You said that you'd post a v4 series, though I don't see it. I could make use of such a feature in cachefiles inside the kernel. For my original question, see: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log= /?h=3Dfscache-iter And do you have ext4 support for it? Colin Walters wrote: > On Tue, Jan 14, 2020, at 1:06 PM, David Howells wrote: > = > > Yes, I suggested AT_LINK_REPLACE as said magical flag. > = > This came up before right? > = > https://lore.kernel.org/linux-fsdevel/cover.1524549513.git.osandov@fb.co= m/ David