Re: Unexpected behavior of directory mtime after being set explicitly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Chris,

Kindly request you that follow steps given in previous mail and paste the output here.

The reason behind this request is that we have encountered an issue which is easily reproducible on
Latest version of both quincy and pacific, also we have thoroughly investigated the matter and we are certain that
No other factors are at play in this scenario.

Note :  We have used Debian 11 for testing.
sdsadmin@ceph-pacific-1:~$ uname -a
Linux ceph-pacific-1 5.10.0-10-amd64 #1 SMP Debian 5.10.84-1 (2021-12-08) x86_64 GNU/Linux
sdsadmin@ceph-pacific-1:~$ sudo ceph -v
ceph version 16.2.13 (5378749ba6be3a0868b51803968ee9cde4833a3e) pacific (stable)

Thanks for your prompt reply.

      Regards
   Sandip Divekar

-----Original Message-----
From: Chris Palmer <chris.palmer@xxxxxxxxx> 
Sent: Thursday, May 25, 2023 7:25 PM
To: ceph-users@xxxxxxx
Subject:  Re: Unexpected behavior of directory mtime after being set explicitly

***** EXTERNAL EMAIL *****

Hi Milind
I just tried this using the ceph kernel client and ceph-common 17.2.6 package in the latest Fedora kernel, against Ceph 17.2.6 and it worked perfectly...
There must be some other factor in play.
Chris

On 25/05/2023 13:04, Sandip Divekar wrote:
> Hello Milind,
>
> We are using Ceph Kernel Client.
> But we found this same behavior while using Libcephfs library.
>
> Should we treat this as a bug?  Or
> Is there any existing bug for similar issue ?
>
> Thanks and Regards,
>    Sandip Divekar
>
>
> From: Milind Changire <mchangir@xxxxxxxxxx>
> Sent: Thursday, May 25, 2023 4:24 PM
> To: Sandip Divekar <sandip.divekar@xxxxxxxxxxxxxxxxxx>
> Cc: ceph-users@xxxxxxx; dev@xxxxxxx
> Subject: Re:  Unexpected behavior of directory mtime after 
> being set explicitly
>
> ***** EXTERNAL EMAIL *****
> Sandip,
> What type of client are you using ?
> kernel client or fuse client ?
>
> If it's the kernel client, then it's a bug.
>
> FYI - Pacific and Quincy fuse clients do the right thing
>
>
> On Wed, May 24, 2023 at 9:24 PM Sandip Divekar <sandip.divekar@xxxxxxxxxxxxxxxxxx<mailto:sandip.divekar@xxxxxxxxxxxxxxxxxx>> wrote:
> Hi Team,
>
> I'm writing to bring to your attention an issue we have encountered with the "mtime" (modification time) behavior for directories in the Ceph filesystem.
>
> Upon observation, we have noticed that when the mtime of a directory 
> (let's say: dir1) is explicitly changed in CephFS, subsequent additions of files or directories within 'dir1' fail to update the directory's mtime as expected.
>
> This behavior appears to be specific to CephFS - we have reproduced this issue on both Quincy and Pacific.  Similar steps work as expected in the ext4 filesystem amongst others.
>
> Reproduction steps:
> 1. Create a directory - mkdir dir1
> 2. Modify mtime using the touch command - touch dir1 3. Create a file 
> or directory inside of 'dir1' - mkdir dir1/dir2 Expected result:
> mtime for dir1 should change to the time the file or directory was 
> created in step 3 Actual result:
> there was no change to the mtime for 'dir1'
>
> Note : For more detail, kindly find the attached logs.
>
> Our queries are :
> 1. Is this expected behavior for CephFS?
> 2. If so, can you explain why the directory behavior is inconsistent depending on whether the mtime for the directory has previously been manually updated.
>
>
> Best Regards,
>    Sandip Divekar
> Component QA Lead SDET.
>
> _______________________________________________
> ceph-users mailing list -- 
> ceph-users@xxxxxxx<mailto:ceph-users@xxxxxxx>
> To unsubscribe send an email to 
> ceph-users-leave@xxxxxxx<mailto:ceph-users-leave@xxxxxxx>
>
>
> --
> Milind
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an 
> email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux