Re: Re: [PATCH] bcache: correct journal bucket reading

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

 



Tang--

On Wed, Nov 1, 2017 at 7:15 PM,  <tang.junhui@xxxxxxxxxx> wrote:
> I read the the code again, and found that find_next_bit() would return 7 in this
> scenario, but the bucket number begin with 0, so the 7th bucket's number is 6,
> so it will take the last bucket as the first bucket to read journal,
> so the 7the bucket would not be lost. I will change this patch to a annotation patch,
> other readers would be easy to understand these codes.

Thank you.  It is way too complicated/tricky :)

Mike



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux