Giter VIP home page Giter VIP logo

Comments (2)

wu-hanqing avatar wu-hanqing commented on May 22, 2024

从日志中看,是IO请求失败,导致IO Error,curve这边会限制IO请求的offset/size需要是4K对齐的。

E 2020-07-21T07:21:23.570824+0000  1209 file_entity.cpp:171] AioRead file failed. fd: 1, fileName: cbd:pool//t
est_curve_, context: [type: READ, offset: 1024, size: 1024, ret: -1]

看下 /sys/devices/virtual/block/nbd0/queue/logical_block_size/sys/devices/virtual/block/nbd0/queue/physical_block_size 这两个文件的值,如果不是4096,可以尝试修改成4096。
如果能生效,可以重新格式化,再测试一下。
如果不能修改,尝试升级下内核版本,我们内部测试使用的是 4.9.65 版本的内核。

from curve.

lwllvyb avatar lwllvyb commented on May 22, 2024

通过升级内核之后,解决了。
感觉日志可以优化下,日志信息不是很明确

from curve.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.