Re: Corrupted files on CephFS since Luminous upgrade

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

 



On Fri, Dec 8, 2017 at 10:04 PM, Florent B <florent@xxxxxxxxxxx> wrote:
> When I look in MDS slow requests I have a few like this :
>
> {
>             "description": "client_request(client.460346000:5211
> setfilelockrule 1, type 2, owner 9688352835732396778, pid 660, start 0,
> length 0, wait 1 #0x100017da2aa 2017-12-08 15:00:21.823976
> caller_uid=5000, caller_gid=5000{5000,})",
>             "initiated_at": "2017-12-08 15:00:21.834698",
>             "age": 72.168096,
>             "duration": 72.168212,
>             "type_data": {
>                 "flag_point": "acquired locks",
>                 "reqid": "client.460346000:5211",
>                 "op_type": "client_request",
>                 "client_info": {
>                     "client": "client.460346000",
>                     "tid": 5211
>                 },
>                 "events": [
>                     {
>                         "time": "2017-12-08 15:00:21.834698",
>                         "event": "initiated"
>                     },
>                     {
>                         "time": "2017-12-08 15:00:21.834826",
>                         "event": "acquired locks"
>                     },
>                     {
>                         "time": "2017-12-08 15:00:28.299564",
>                         "event": "acquired locks"
>                     },
>                     {
>                         "time": "2017-12-08 15:00:50.720873",
>                         "event": "acquired locks"
>                     },
>                     {
>                         "time": "2017-12-08 15:01:05.884944",
>                         "event": "acquired locks"
>                     },
>                     {
>                         "time": "2017-12-08 15:01:17.043605",
>                         "event": "acquired locks"
>                     }
>                 ]
>             }
>
> Always for the same client (my mail server).

This is file lock request. It blocks until lock holder releases the
lock (maybe we should not print waring for requests of this type).

you can dump mds cache and check if the corrupted file has caps from
multiple clients.


> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[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