Saturday, 2020-10-03

openstackgerritMerged openstack/swift master: Fail short reads in SegmentedIterable  https://review.opendev.org/75481402:17
openstackgerritMerged openstack/swift master: Log storage policy with s3api requests  https://review.opendev.org/75558702:19
*** evrardjp has quit IRC04:33
*** evrardjp has joined #openstack-swift04:33
openstackgerritMerged openstack/swift master: wsgi: Ensure _response_headers is a list  https://review.opendev.org/75590305:27
openstackgerritTim Burke proposed openstack/swift master: squash: More logging refactoring; stop needing an extra catch_errors  https://review.opendev.org/75590605:35
openstackgerritTim Burke proposed openstack/swift master: squash: More logging refactoring; stop needing an extra catch_errors  https://review.opendev.org/75590606:21
openstackgerritMerged openstack/swift master: Use bigger GreenPool for concurrent EC  https://review.opendev.org/75441206:54
*** fyx has quit IRC07:24
*** fyx has joined #openstack-swift07:30
*** mikecmpbll has quit IRC08:51
*** mikecmpbll has joined #openstack-swift08:55
*** recyclehero has left #openstack-swift10:03
*** mikecmpbll has quit IRC10:27
*** Hamidreza has joined #openstack-swift14:27
HamidrezaHi14:27
HamidrezaI've mount my disks with bellow options on fstab:14:28
Hamidrezanoatime,nodiratime,nobarrier,logbufs=8 0 214:28
Hamidrezabut when I commit this command , it shows the changed and modified time !!!14:29
Hamidreza stat /srv/node/sdb/objects/1600:14:30
HamidrezaModify: 2020-10-02 09:43:1814:30
HamidrezaChange: 2020-10-02 09:43:1814:30
Hamidreza Birth: -14:30
DHEyeah... because atime is access time, not modified time (mtime) or changed time (ctime)14:31
Hamidrezaok14:32
Hamidrezahow can i disble them?14:32
DHEyou can't14:32
Hamidrezabut I've access time !14:32
Hamidreza]Access: 2020-10-02 09:43:1814:32
DHEit doesn't stop the field from existing14:33
Hamidrezawhy i can't?14:33
DHEit stops it from being updated on a file/dir read14:33
Hamidrezayou mean I can not update the object any more if I disable (mtime) and (ctime)14:34
Hamidreza?14:34
HamidrezaI read a text that said we have atime enabled in kernel by default14:36
Hamidrezarelatime*14:37
DHErelatime cheats atime. it only updates atime if either 1) it's been 12 hours since the last update or 2) current atime is before mtime14:39
DHEsince most applications are mainly interested on whether atime < mtime   or atime > mtime  it works out pretty well14:39
DHEbut swift itself doesn't care about these fields. at least I'm pretty sure it doesn't. timestamps for objects are stored differently14:40
HamidrezaI want to disable mtime and ctime for my disks]14:44
HamidrezaBecause of increasing performance14:44
DHEyou can't14:45
DHEbut I don't see how this would make it faster14:45
Hamidrezadoes swift need this ctime and mtime?14:47
DHEI just answered that question14:47
HamidrezaYou said timestamps for objects are stored differently14:48
Hamidrezayou didn't say why swift need this info14:49
DHEbecause swift resolves races of uploading objects based on upload time14:49
DHEwhich is not necessarily the same as a file's mtime/ctime because files can be copied around between hosts or there could be network latency, etc14:49
HamidrezaI want to delete old objects based on this info14:51
HamidrezaI mean the objects with 2years ago access time14:51
Hamidrezabut im not sure this is true or not14:51
DHEwell if you have noatime then you can't trust the atime value14:51
Hamidrezabut I said that by default relatime is enabled on new kernels14:53
Hamidrezabut I'm concern about relatime because maybe swift proxy always routed request to one specific disk14:54
Hamidrezaand it can confuse my statistics14:55
*** Hamidreza has quit IRC15:36
*** donnyd has quit IRC15:42
*** gmann has quit IRC15:43
*** gmann has joined #openstack-swift15:46
*** donnyd has joined #openstack-swift15:53
*** rcernin has joined #openstack-swift18:16
*** rcernin has quit IRC18:24
*** mikecmpbll has joined #openstack-swift18:40
*** mikecmpbll has quit IRC19:13
*** rcernin has joined #openstack-swift22:14
*** rcernin has quit IRC22:27
openstackgerritMerged openstack/swift stable/ussuri: py3: Fix swift-dispersion-populate  https://review.opendev.org/75485222:50
*** rcernin has joined #openstack-swift22:53
*** rcernin has quit IRC23:07
*** zamba has quit IRC23:17
*** zamba has joined #openstack-swift23:21

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!