Re: git: HAMMER VFS - Disallow rebalancing on small-memory machi

看板DFBSD_commit作者時間16年前 (2010/02/05 06:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
>commit f6468e9eb2c9de9b9af113b10cd1a0b3c64c0e42 >Author: Matthew Dillon <dillon@apollo.backplane.com> >Date: Tue Jan 26 12:50:33 2010 -0800 > > HAMMER VFS - Disallow rebalancing on small-memory machines >=20=20=20=20 > * Rebalancing may have to hold upwards of 3900 buffers locked > in the worst case, disallow the operation on machines which > do not configure enough buffer cache buffers. Could this be MFC to 2.4, thanks. Just cherry-picking works here. ENOSPC isn't the most obvious error code: when testing I first thought something wasn't right, as 'No space left on device' isn't correct. What about EDEADLK? (could match the stall I had before this commit (issue1552)) It seems we don't have error message just saying 'resource shortage'. -thomas
文章代碼(AID): #1BQqheE4 (DFBSD_commit)
文章代碼(AID): #1BQqheE4 (DFBSD_commit)