Giter VIP home page Giter VIP logo

data-14's People

Contributors

paoloambrosio avatar

Stargazers

 avatar  avatar

Watchers

 avatar

data-14's Issues

Block write opens

Block file opens in write mode if data has not being backed up yet.


Look at truncate and other operations that don't need an open file.

Original issue reported on code.google.com by paolo.ambrosio on 17 Nov 2008 at 7:28

kmalloc vs vmalloc

kmalloc can alloc at max 128KB (that means a bitmap for a 4GB file), we
should use vmalloc for bigger memory areas (or if it fails?).

(kmalloc size limit is KMALLOC_MAX_SIZE defined in linux/slab.h )

Original issue reported on code.google.com by paolo.ambrosio on 17 Nov 2008 at 7:31

Truncate bugs

Truncate does not work very well.

If ftruncate(fd, length) is used, the message is queued immediately but
there could be writes until the file is closed. Now the file truncate works
only with truncate(path, length).

If a file is truncated and than expanded again, we need to fill the bitmap
or write range. If not, old data will be kept instead of zero-fill. 

Original issue reported on code.google.com by paolo.ambrosio on 17 Nov 2008 at 7:29

Checks on vfs functions error

Check for vfs function return value on post callbacks. Pass starting point
to write postcall from the precall. 

Original issue reported on code.google.com by paolo.ambrosio on 17 Nov 2008 at 7:27

Bitmap in inode private data

Move the bitmap to inode private data. The event will be an immediate
event, with less complexity. 

Original issue reported on code.google.com by paolo.ambrosio on 17 Nov 2008 at 7:29

Complete event handling

Context should call Event, not Message directly. Then Event will call Data. 

Original issue reported on code.google.com by paolo.ambrosio on 17 Nov 2008 at 7:31

Windows trace functions

Log levels other than "debug" should go to the system log (prehaps a switch
to chose at compile time where they should go). In Linux there is no need
since syslog is more versatile. 

Original issue reported on code.google.com by paolo.ambrosio on 17 Nov 2008 at 7:30

Create/Modify times

Log inode creation/modification times after each fs event (i_ctime on
create, i_mtime otherwise) 

Original issue reported on code.google.com by paolo.ambrosio on 17 Nov 2008 at 7:32

Error handling

Check for errors in filter and assure that every possibile error is handles
correctly. 

Original issue reported on code.google.com by paolo.ambrosio on 17 Nov 2008 at 7:21

Block range

Change the range for write messages so that it reports the modified block
(not byte) range. This is needed to map the memory region with file
modifications to file blocks. 

Original issue reported on code.google.com by paolo.ambrosio on 17 Nov 2008 at 7:32

Bitmap

Use bitmap functions defined in linux/bitmap.h 

Original issue reported on code.google.com by paolo.ambrosio on 17 Nov 2008 at 7:32

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.