Code Monkey home page Code Monkey logo

juicefs's Introduction

WIP

yxaa's top langs

juicefs's People

Contributors

201341 avatar aixjing avatar angristan avatar arvintian avatar chiyutianyi avatar chnliyong avatar davies avatar daybug avatar helix-loop avatar hexilee avatar polyrabbit avatar rayw000 avatar reusee avatar sandyxsd avatar sanwan avatar showjason avatar solracsf avatar suave avatar suzaku avatar tangyoupeng avatar timfeirg avatar tonicbupt avatar xiaogaozi avatar xyb avatar yuhr123 avatar yujunz avatar yxa2111 avatar zhijian-pro avatar zhoucheng361 avatar zwwhdls avatar

juicefs's Issues

dataset level replication

overview

在配置里指定某个特殊目录是否replicate到某个replication。这个元数据存在目录和文件的xattr里。每次配置好之后都要遍历修改下所有这个目录下面的子目录和文件的xattr。create时如果父inode有这个xattr,继承一下。open时也要特殊再加载一下xattr,保存在fd结构里。write/flush/sync的时候往下传(放到context里),一直传到wSlice里。wSlice再将这个文件相关的replicateInfo传给下面的object storage。

感觉这个不一定做,所以先记一下

遍历修改xattr

可能需要每次启动前都check一下。修改时,可以先修改目录下所有子目录和文件的xattr,之后再修改这个目录的xattr,这样可以保证如果这个目录的xattr有改动,这个目录下面所有的entry都已经修改了。check时,只从没有xattr的目录开始向下遍历。可以先集中扫描出一个修改list,再批量修改(todo:提供批量修改xattr的接口)。这样每次启动时最多只需要获取一个目录的xattr即可。

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.