From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f50.google.com (mail-ot1-f50.google.com [209.85.210.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 974E91F582E for ; Fri, 9 May 2025 17:51:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746813108; cv=none; b=jU427yvdULXwJKIDVaVENrca+NkdrbemsWRdh/GOKIS98Iv11PCyVTZb6U91CC5IXSYjkAqcFK6URyque8VYu8VVoCGeapkaIRDj6usCDbqjAXZuRCOaNiCmOYDeDvDHzJ7KzE5GZD5mdqCoxxw1jvrYb98uBatBaO8wCr0ynfw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746813108; c=relaxed/simple; bh=Q/eDqnaWNfB1O7xKE77ouU9p0ZDT+uECIZdfEDtngBE=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=Pc8Mu1/iZ7lhGE+5YfIAklfNfEfAq4qYJxD/9W3VUZ/Ba3DX1J8BDJBPSicePxNX83EaoKW5VVg9sqtKIRhz1NHsY5kwp40Qz02HnYsz/5OhZNgDoBpxew0D/92G7CRjVPSdkjanBP+VkQrICaK2xHFv0y7/VWcwalk6Y+592TM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dubeyko.com; spf=pass smtp.mailfrom=dubeyko.com; dkim=pass (2048-bit key) header.d=dubeyko-com.20230601.gappssmtp.com header.i=@dubeyko-com.20230601.gappssmtp.com header.b=yu6e1gp3; arc=none smtp.client-ip=209.85.210.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dubeyko.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dubeyko.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dubeyko-com.20230601.gappssmtp.com header.i=@dubeyko-com.20230601.gappssmtp.com header.b="yu6e1gp3" Received: by mail-ot1-f50.google.com with SMTP id 46e09a7af769-72c09f8369cso887241a34.3 for ; Fri, 09 May 2025 10:51:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dubeyko-com.20230601.gappssmtp.com; s=20230601; t=1746813105; x=1747417905; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=Q/eDqnaWNfB1O7xKE77ouU9p0ZDT+uECIZdfEDtngBE=; b=yu6e1gp3yzRODnpCUm0YUPeerrwDWg+5lzvXTxiKULbHEO195hyoZjEMkiAF9rTUtO kK7XpqDOSS0to/vBR0Xp/y3Iy8t0UG0h72Iv5nyWHiJIeezC5QBP9zSI7HP0Zk8NtGDM CRtm0VHgrUEyvmj3BsQYyQrWHAa3EhsXqWHpGD3MpdUC+pXkgTPuaZN2sD6x5+GAOzVF 7dza4C3NyIbY4ZgPwyiG//YxVec9rMetjlTzkQqpsg6lLjgnPvEjtTao0042FeseM+94 G9V57kMLy7o01UHxz8Y6R+EKEVn9IxeN8OPUtvu9tJGQ85iRC0U9YHCV5T5NO0yksLGv Yvhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746813105; x=1747417905; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Q/eDqnaWNfB1O7xKE77ouU9p0ZDT+uECIZdfEDtngBE=; b=pLqmYERzKcx2NLnRYO+/eQbFgQmDw4vfGpRxdwRRRCFk46wIM6QHnBtKOkJhP6e/Qu 3zXrpSQmsj4qT3Uk70ZBmobolRKRkCYC7UnA6nsiivqYvj1d+CZ/BedDod1zxHJRSRWV LctlQcpXPa8bhy5/YODh8J+HOTh6GRyTrjzSB42y6AApiJDo4fDv8lgrhtkBiJDJsyQV T2YOEQrDmLXJWot1IO8YWpsUA60szNEX5U14D+QtHFobtHY5ajJEL97s/XwiBwxIEUYj dDpK3VvykDzAr5uYjE/DGpKTe49HbIkxUQInjCGfaTEtp9G5bJxrvCVmn32fb2yNZnIX Hy+w== X-Forwarded-Encrypted: i=1; AJvYcCUVSSeJbPR8DfSEVbFldQ+JedGV4fja6BAXFrJskmSWSTkX3vI7bmwmt56qlbqfQHzzHqs+zvvYISkDA/g=@vger.kernel.org X-Gm-Message-State: AOJu0YySb7jwvBWlH00S9uTivSQq3x5MCAYo6viNeFd5jNha0wc3moHn kbmIXdOPzkKTd7KrvMELvyWsdVqFAhnmlMTtHaCLm7OPDrACIqTguprVwE9jZ5E= X-Gm-Gg: ASbGncuhbDmyE/NtG/v4jLlhSu9UrXs0BxUvhp3SFjhhAnAMqG+RrHUTNXWLtPQ2REs xPvzW/arMXAMU3GMeUd/jTFiLuWTpBbJ//os1Pa2p0Cz9RTrmCdCtaGUQwksjme71GElrfiS7Qo SO6ulhSeI1jeoBGD6yMqk5hGkQeivrH4wC10hobvF8fdHqWE7HneOQ2F6TtxDWrBEBNLZiNBsRn hquFRaVeEy+KvfTB1YLugLTqZJlplhwN5Ho8WE49UcPgDAm0w4bdo37NapU/rSRLTY4XazbScMI oAKJyMLwRgAwk/mzLEUAd1lkqXsfIL2rvgRJvGnDB51cLE0mQXS4 X-Google-Smtp-Source: AGHT+IHDCQ7Ns9Wq06VLrKzTLv74WPBLip6/SOmObU7e4P5+nkf8W86+WJ2FlLyUAMn2pLU0ZAdu7w== X-Received: by 2002:a05:6830:71a3:b0:72c:3289:827c with SMTP id 46e09a7af769-73226a3b787mr2700710a34.16.1746813105531; Fri, 09 May 2025 10:51:45 -0700 (PDT) Received: from pop-os.attlocal.net ([2600:1700:6476:1430:f242:4c31:ff5d:e2b7]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-732265cd9b4sm610362a34.52.2025.05.09.10.51.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 May 2025 10:51:44 -0700 (PDT) Message-ID: Subject: Re: =?UTF-8?Q?=E5=9B=9E=E5=A4=8D=3A?= [PATCH 2/2] hfs: fix to update ctime after rename From: Viacheslav Dubeyko To: =?UTF-8?Q?=E6=9D=8E=E6=89=AC=E9=9F=AC?= , Viacheslav Dubeyko , "glaubitz@physik.fu-berlin.de" Cc: "linux-fsdevel@vger.kernel.org" , "linux-kernel@vger.kernel.org" Date: Fri, 09 May 2025 10:51:43 -0700 In-Reply-To: References: <20250429201517.101323-1-frank.li@vivo.com> <20250429201517.101323-2-frank.li@vivo.com> <24ef85453961b830e6ab49ea3f8f81ff7c472875.camel@ibm.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.1 (by Flathub.org) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Wed, 2025-05-07 at 14:22 +0000, =E6=9D=8E=E6=89=AC=E9=9F=AC wrote: > Hi Slava, >=20 > > =C2=A0=C2=A0 +ERROR: access time has changed for file1 after remount > > =C2=A0=C2=A0 +ERROR: access time has changed after modifying file1 > > =C2=A0=C2=A0 +ERROR: access time has changed for file in read-only file= system >=20 > > It looks like that it is not the whole fix of the issue for HFS > > case. >=20 > The test cases that failed after applying this patch are all related > to the atime not being updated, If I understood correctly "ERROR: access time has changed for file1 after remount" means atime has been changed. > but hfs actually does not have atime.=20 >=20 But how the test detects that atime has been updated? If HFS hasn't atime, then test cannot detect such update, from my point of view. > So the current fix is =E2=80=8B=E2=80=8Bsufficient, should we modify the = 003 test > case? >=20 I don't think so. Probably, something is wrong in HFS code. We need to double check it. Thanks, Slava. > =C2=A0=C2=A0 dirCrDat:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 LongInt;=C2=A0=C2=A0= =C2=A0 {date and time of creation} > =C2=A0=C2=A0 dirMdDat:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 LongInt;=C2=A0=C2=A0= =C2=A0 {date and time of last modification} > =C2=A0=C2=A0 dirBkDat:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 LongInt;=C2=A0=C2=A0= =C2=A0 {date and time of last backup} >=20 > =C2=A0=C2=A0 filCrDat:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 LongInt;=C2=A0=C2=A0= =C2=A0 {date and time of creation} > =C2=A0=C2=A0 filMdDat:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 LongInt;=C2=A0=C2=A0= =C2=A0 {date and time of last modification} > =C2=A0=C2=A0 filBkDat:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 LongInt;=C2=A0=C2=A0= =C2=A0 {date and time of last backup} >=20 > Thanks, > Yangtao