Re: librbd discard bug problems -> i got it

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

 



Hi Josh,

how can i log in AioRequest.h?

I need to add some debugging into:
    void complete(int r)
    {
      if (should_complete(r)) {
        if (m_hide_enoent && r == -ENOENT)
          r = 0;
        m_completion->complete(r);
        delete this;
      }
    }

Stefan

Am 19.11.2012 23:38, schrieb Josh Durgin:
On 11/19/2012 01:19 PM, Stefan Priebe wrote:
Hello Josh,

after digging three days around i got it.

That's great!

The problem is in aio_discard in internal.cc. The i/o fails when AioZero
or AioTruncate is used.

Interesting, I wouldn't have expected the bug to be there. Is
it failing with a different error code, or just taking too long
so the guest kernel tries to cancel it?

It works fine with AioRemove. It seems to depend on overlapping.
Hopefully i'm able to provide a patch this nicht.

Looking forward to it!

Josh
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux