Re: Regarding ``problem with nilfs_cleanerd - part 2'' and ``Nilfs_cleanerd err=-17''

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

 



On Tue, 26 Apr 2011 21:21:48 +0000 (UTC), Ivan Telichko wrote:
> It seems my reply was discarded, probably because it was too large. I
> will try to use pastebin for summaries then.
> 
> > According to the log, the same data block (i.e. blocks having the same
> > inode number, the same block offset, and the same checkpoint number)
> > appeared twice in a segment, and this causes a conflict of buffer on
> > GC page cache.
> 
> I tried to find blocks with same ino, cno and blkoff fields in one segment
> with perl script. In 200 segments around 1721, there are about 1600 of
> these, but none with ino=97606. Most of them (around 98%) have cno=0,
> ino = one of 3,4,5.
>
> Could you tell more about how bad blocks should look like? It is not
> clear if blocks without blkoff=X or with level=X count as duplicates.

The log says 4 segments were selected for GC at that time, so the
duplicated block would be present between segment 1718 and 1721 (if
exists).

Is there dumpseg data of the segment 1718 and 1719 ?

If the duplicated block exists, it will look like:

      finfo
        ino = 97606, cno = 281, nblocks = xx, ndatblk = xx
          ...
          vblocknr = xxxxxxx, blkoff = 14, blocknr = xxxxxxxx
          ...

B-tree node blocks, which appear without "blkoff = X" or with "level =
X", are irrelevant to this error.

Thanks,
Ryusuke Konishi
 
> > Could you take summaries of the segment 1721 and its adjacent segments ?
> > 
> > Summaries of a segment can be obtained as follows:
> > 
> >  # dumpseg /dev/sda6 1721
> >            ~~~~~~~~~
> >            your block device
> > 
> > where the segment 1721 contains the block 3526535 (a segment consists
> > of 2048 blocks by default).  It doesn't contain any user private data.
> 
> Here are summaries for blocks 1720,1721,1722:
> 
>   http://pastebin.com/vdC8WUWv
> 
> ---
> 
> Regards,
>   Ivan Telichko
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux BTRFS]     [Linux CIFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux