Andrew Lutomirski
2011-Aug-07 02:16 UTC
space cache generation (...) does not match inode (...)
I''ve always gotten space cache generation warnings, but some time after 3.0 they started going nuts. I get: space cache generation (14667727114112179905) does not match inode (154185) and other similar messages (with a huge number and a smaller number) at rates higher than one message per ms. They don''t happen constantly, but they come in bursts big enough to fill my log buffer. --Andy -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Josef Bacik
2011-Aug-08 12:14 UTC
Re: space cache generation (...) does not match inode (...)
On 08/06/2011 10:16 PM, Andrew Lutomirski wrote:> I''ve always gotten space cache generation warnings, but some time > after 3.0 they started going nuts. I get: > > space cache generation (14667727114112179905) does not match inode (154185) > > and other similar messages (with a huge number and a smaller number) > at rates higher than one message per ms. They don''t happen > constantly, but they come in bursts big enough to fill my log buffer. >Yeah sorry that''s going to happen when you first switch to 3.0. We switched the space cache stuff over to using the normal checksumming code so all old space cache is going to look invalid. This is nothing to worry about, it will just end up discarded and re-generated. Thanks, Josef -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Andrew Lutomirski
2011-Aug-08 12:17 UTC
Re: space cache generation (...) does not match inode (...)
On Mon, Aug 8, 2011 at 8:14 AM, Josef Bacik <josef@redhat.com> wrote:> On 08/06/2011 10:16 PM, Andrew Lutomirski wrote: >> I''ve always gotten space cache generation warnings, but some time >> after 3.0 they started going nuts. I get: >> >> space cache generation (14667727114112179905) does not match inode (154185) >> >> and other similar messages (with a huge number and a smaller number) >> at rates higher than one message per ms. They don''t happen >> constantly, but they come in bursts big enough to fill my log buffer. >> > > Yeah sorry that''s going to happen when you first switch to 3.0. We > switched the space cache stuff over to using the normal checksumming > code so all old space cache is going to look invalid. This is nothing > to worry about, it will just end up discarded and re-generated. Thanks,Can you put in a rate limit and make the message less alarming? There''s enough log spam from it that I can''t see anything else in my log. --Andy> > Josef >-- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Josef Bacik
2011-Aug-08 12:18 UTC
Re: space cache generation (...) does not match inode (...)
On 08/08/2011 08:17 AM, Andrew Lutomirski wrote:> On Mon, Aug 8, 2011 at 8:14 AM, Josef Bacik <josef@redhat.com> wrote: >> On 08/06/2011 10:16 PM, Andrew Lutomirski wrote: >>> I''ve always gotten space cache generation warnings, but some time >>> after 3.0 they started going nuts. I get: >>> >>> space cache generation (14667727114112179905) does not match inode (154185) >>> >>> and other similar messages (with a huge number and a smaller number) >>> at rates higher than one message per ms. They don''t happen >>> constantly, but they come in bursts big enough to fill my log buffer. >>> >> >> Yeah sorry that''s going to happen when you first switch to 3.0. We >> switched the space cache stuff over to using the normal checksumming >> code so all old space cache is going to look invalid. This is nothing >> to worry about, it will just end up discarded and re-generated. Thanks, > > Can you put in a rate limit and make the message less alarming? > There''s enough log spam from it that I can''t see anything else in my > log. >Yeah I''ll do that now, thanks, Josef -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Martin Steigerwald
2011-Nov-07 09:37 UTC
Re: space cache generation (...) does not match inode (...)
Hi Josef, Am Montag, 8. August 2011 schrieb Josef Bacik:> On 08/06/2011 10:16 PM, Andrew Lutomirski wrote: > > I''ve always gotten space cache generation warnings, but some time > > after 3.0 they started going nuts. I get: > > > > space cache generation (14667727114112179905) does not match inode > > (154185) > > > > and other similar messages (with a huge number and a smaller number) > > at rates higher than one message per ms. They don''t happen > > constantly, but they come in bursts big enough to fill my log buffer. > > Yeah sorry that''s going to happen when you first switch to 3.0. We > switched the space cache stuff over to using the normal checksumming > code so all old space cache is going to look invalid. This is nothing > to worry about, it will just end up discarded and re-generated.I found these too and found this thread about it. Now I restarted 3.1 another time but I still get these. Less than before, but they still appear. Is that okay? I thought BTRFS would update the space cache once and then be done with it. When exactly should BTRFS be done with it? Ciao, -- Martin ''Helios'' Steigerwald - http://www.Lichtvoll.de GPG: 03B0 0D6C 0040 0710 4AFA B82F 991B EAAC A599 84C7 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html