Re: [PATCH v2 6/6] staging: lustre: mdc: use large xattr buffers for old servers

2018-06-01 Thread Greg Kroah-Hartman
On Thu, May 31, 2018 at 05:30:24PM +, Dilger, Andreas wrote: > On May 31, 2018, at 18:54, Greg Kroah-Hartman > wrote: > > > > On Tue, May 29, 2018 at 10:21:45AM -0400, James Simmons wrote: > >> From: "John L. Hammond" > >> > >> Pre 2.10.1 MDTs will crash when they receive a listxattr (MDS_

Re: [PATCH v2 6/6] staging: lustre: mdc: use large xattr buffers for old servers

2018-05-31 Thread NeilBrown
On Thu, May 31 2018, Dilger, Andreas wrote: > On May 31, 2018, at 18:54, Greg Kroah-Hartman > wrote: >> >> On Tue, May 29, 2018 at 10:21:45AM -0400, James Simmons wrote: >>> From: "John L. Hammond" >>> >>> Pre 2.10.1 MDTs will crash when they receive a listxattr (MDS_GETXATTR >>> with OBD_MD_

Re: [PATCH v2 6/6] staging: lustre: mdc: use large xattr buffers for old servers

2018-05-31 Thread Dilger, Andreas
On May 31, 2018, at 18:54, Greg Kroah-Hartman wrote: > > On Tue, May 29, 2018 at 10:21:45AM -0400, James Simmons wrote: >> From: "John L. Hammond" >> >> Pre 2.10.1 MDTs will crash when they receive a listxattr (MDS_GETXATTR >> with OBD_MD_FLXATTRLS) RPC for an orphan or dead object. So for >>

Re: [PATCH v2 6/6] staging: lustre: mdc: use large xattr buffers for old servers

2018-05-31 Thread Greg Kroah-Hartman
On Tue, May 29, 2018 at 10:21:45AM -0400, James Simmons wrote: > From: "John L. Hammond" > > Pre 2.10.1 MDTs will crash when they receive a listxattr (MDS_GETXATTR > with OBD_MD_FLXATTRLS) RPC for an orphan or dead object. So for > clients connected to these older MDTs, try to avoid sending listx

[PATCH v2 6/6] staging: lustre: mdc: use large xattr buffers for old servers

2018-05-29 Thread James Simmons
From: "John L. Hammond" Pre 2.10.1 MDTs will crash when they receive a listxattr (MDS_GETXATTR with OBD_MD_FLXATTRLS) RPC for an orphan or dead object. So for clients connected to these older MDTs, try to avoid sending listxattr RPCs by making the bulk getxattr (MDS_GETXATTR with OBD_MD_FLXATTRAL