Re: [PATCH 01/41] fs/adfs: inode: update timestamps to centisecond precision

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

 



On Mon, 2019-12-09 at 14:03 +0000, Russell King - ARM Linux admin
wrote:
> > > 
> On Mon, Dec 09, 2019 at 04:54:55PM +0300, Vyacheslav Dubeyko wrote:
> > On Mon, 2019-12-09 at 11:08 +0000, Russell King wrote:

<snipped>

> > >  	sb->s_fs_info = asb;
> > > +	sb->s_time_gran = 10000000;
> > 
> > I believe it's not easy to follow what this granularity means.
> > Maybe,
> > it makes sense to introduce some constant and to add some comment?
> 
> Or simply name it "s_time_gran_ns" so the units are in the name.
> 

Sounds good. :) But why namely 10000000?

Thanks,
Viacheslav Dubeyko.





[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux