paoloambrosio / data-14 Goto Github PK
View Code? Open in Web Editor NEWData-14 Backup (SVN import from Google Code)
Home Page: https://paoloambrosio.github.com/data-14/
Data-14 Backup (SVN import from Google Code)
Home Page: https://paoloambrosio.github.com/data-14/
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 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 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
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
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
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
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
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
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
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.