> -----Ursprüngliche Nachricht----- > Von: Darrick J. Wong [mailto:darrick.wong@xxxxxxxxxx] > Gesendet: Freitag, 7. Juli 2017 05:47 > An: Markus Stockhausen > Cc: 'linux-xfs@xxxxxxxxxxxxxxx' > Betreff: Re: XFS hang - 4.4.73 longterm > > > > ... > > > This is the known deadlock in SEEK_HOLE/SEEK_DATA; I have patches queued to fix it in 4.13, as soon as the dust settles and I send the pull req. > > > > Short, precise, frightening. > > > > Can you advise what will the best option to avoid that error. > > First things that come to my mind would be: > > > > - get back to original 3.10 stable kernel from CentOS Distro > > - lower NFS mount version > > - Maybe remove some single patch that introduced the error? > > Unfortunately, SEEK_HOLE (and the deadlocky code) go all the way back to the beginning of SEEK_HOLE support, so I don't know that > there's a good workaround for this. There's not really a way to shut off support for it, either, that doesn't involve gross code surgery. Not good news. Finally I disabled SEEK support in nfsd by partially reverting 3.18 patch 24bab491220faa446d94 "NFSD: Implement SEEK". While before NFS/XFS crashed with active VM snapshots and heavy disk writes after minutes it now runs for 2 days of intensive testing without errors. At least now I have full discard support in side VMs (via hole punching of disk files). I'm not familiar with SEEK_HOLE/SEEK_data feature. Do you see negative impact if disabling these? In contrast to falling back to NFS 4 without seek + discard support. Markus
**************************************************************************** Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. �ber das Internet versandte E-Mails können unter fremden Namen erstellt oder manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine rechtsverbindliche Willenserklärung. Collogia Unternehmensberatung AG Ubierring 11 D-50678 Köln Vorstand: Kadir Akin Dr. Michael Höhnerbach Vorsitzender des Aufsichtsrates: Hans Kristian Langva Registergericht: Amtsgericht Köln Registernummer: HRB 52 497 This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. e-mails sent over the internet may have been written under a wrong name or been manipulated. That is why this message sent as an e-mail is not a legally binding declaration of intention. Collogia Unternehmensberatung AG Ubierring 11 D-50678 Köln executive board: Kadir Akin Dr. Michael Höhnerbach President of the supervisory board: Hans Kristian Langva Registry office: district court Cologne Register number: HRB 52 497 ****************************************************************************