opensuse:clicfs.git
6 years agolet mkclicfs add padding to 4096 bytes (bnc#733021) master
Stephan Kulow [Wed, 11 Jul 2012 09:29:51 +0000 (11:29 +0200)]
let mkclicfs add padding to 4096 bytes (bnc#733021)

6 years agomake sure we cast memory sizes correct on 32bit
Stephan Kulow [Tue, 10 Jul 2012 19:59:21 +0000 (21:59 +0200)]
make sure we cast memory sizes correct on 32bit

6 years ago- do not build e2fsprogs
Stephan Kulow [Thu, 9 Feb 2012 14:04:54 +0000 (15:04 +0100)]
- do not build e2fsprogs
- small change to makeiso.sh
- some safety catch

6 years agofix isready flag
Stephan Kulow [Mon, 17 Oct 2011 14:39:44 +0000 (16:39 +0200)]
fix isready flag

6 years agosync the isready flag to 0 before pages and back to 1 afterwards
Stephan Kulow [Mon, 17 Oct 2011 12:10:13 +0000 (14:10 +0200)]
sync the isready flag to 0 before pages and back to 1 afterwards

6 years agoadding clicfs_fsck tool - first step, checking cow file for isready
Stephan Kulow [Mon, 17 Oct 2011 12:00:48 +0000 (14:00 +0200)]
adding clicfs_fsck tool - first step, checking cow file for isready

6 years agofix support for writes in between page boundaries
Stephan Kulow [Mon, 17 Oct 2011 09:55:13 +0000 (11:55 +0200)]
fix support for writes in between page boundaries

6 years agoport all usages of time to get_uptime
Stephan Kulow [Sat, 1 Oct 2011 13:36:29 +0000 (15:36 +0200)]
port all usages of time to get_uptime

6 years agosome small changes
Stephan Kulow [Sat, 1 Oct 2011 13:11:54 +0000 (15:11 +0200)]
some small changes

6 years agopatch from Rafał Kwaśny mag at entropy.be
Stephan Kulow [Fri, 30 Sep 2011 16:34:15 +0000 (18:34 +0200)]
patch from Rafał Kwaśny mag at entropy.be

Hi,
I encountered a bug while making bootable usb drive with persistent
storage and using clicfs to do so.

If the time on the appliance is set in the future ( for ex due to broken
hwclock ) and after startup time is synced via NTP clicfs stops writing
changes to disk. If the system is rebooted all changes are lost.

Please see attached patch that changes time() to uptime for syncing
delay. It seems to work but it's not throughly tested.

7 years agotry simple approach to detach clicfs from ro and rw
Stephan Kulow [Wed, 7 Sep 2011 14:53:32 +0000 (16:53 +0200)]
try simple approach to detach clicfs from ro and rw

7 years agosome debugging aids
Stephan Kulow [Wed, 7 Sep 2011 14:18:04 +0000 (16:18 +0200)]
some debugging aids

7 years agoone more pthread usage
Stephan Kulow [Mon, 29 Aug 2011 12:48:01 +0000 (14:48 +0200)]
one more pthread usage

7 years agofix build with newer ld
Stephan Kulow [Mon, 29 Aug 2011 10:40:57 +0000 (12:40 +0200)]
fix build with newer ld

7 years agoremove some debug output left from thread fixing
Stephan Kulow [Wed, 22 Jun 2011 04:55:20 +0000 (06:55 +0200)]
remove some debug output left from thread fixing

7 years agosupport old fuse versions
Stephan Kulow [Wed, 23 Mar 2011 11:13:07 +0000 (12:13 +0100)]
support old fuse versions

7 years agopatch by Dirk Mueller to fix crash in case outfile of unclicfs
Stephan Kulow [Mon, 21 Mar 2011 16:16:35 +0000 (17:16 +0100)]
patch by Dirk Mueller to fix crash in case outfile of unclicfs
is not writeable

7 years agotake out debug
Stephan Kulow [Mon, 21 Mar 2011 13:55:37 +0000 (14:55 +0100)]
take out debug

7 years agoprotect the lzma decoder
Stephan Kulow [Fri, 18 Mar 2011 11:26:40 +0000 (12:26 +0100)]
protect the lzma decoder

7 years agoreadd the pthread_join to be on the safe side
Stephan Kulow [Tue, 30 Nov 2010 12:37:15 +0000 (13:37 +0100)]
readd the pthread_join to be on the safe side

7 years agoretry multithreaded
Stephan Kulow [Thu, 17 Mar 2011 20:16:30 +0000 (21:16 +0100)]
retry multithreaded

7 years agoremove some noisy debug
Stephan Kulow [Thu, 17 Mar 2011 06:35:20 +0000 (07:35 +0100)]
remove some noisy debug

7 years agofix offset bug
Stephan Kulow [Thu, 17 Mar 2011 05:51:14 +0000 (06:51 +0100)]
fix offset bug

7 years agowrite the correct index to the cow header
Stephan Kulow [Wed, 16 Mar 2011 22:02:00 +0000 (23:02 +0100)]
write the correct index to the cow header

7 years agochange format of cow file and remove mutexes for now - to be readded
Stephan Kulow [Wed, 16 Mar 2011 17:26:11 +0000 (18:26 +0100)]
change format of cow file and remove mutexes for now - to be readded
once we know what is to be protected

7 years ago- add more debug logs for now
Stephan Kulow [Wed, 16 Mar 2011 15:22:15 +0000 (16:22 +0100)]
- add more debug logs for now
- catch errors in return values
- most file accesses are now read/pread instead of fread

7 years agopatch from Marcus Schaefer to readd pthread_cancel call
Stephan Kulow [Mon, 29 Nov 2010 09:21:30 +0000 (10:21 +0100)]
patch from Marcus Schaefer to readd pthread_cancel call

7 years agofix cow file sync - the writer lock is already held for detach
Stephan Kulow [Wed, 24 Nov 2010 12:59:13 +0000 (13:59 +0100)]
fix cow file sync - the writer lock is already held for detach

8 years agomake it more robust against read errors
Stephan Kulow [Wed, 25 Aug 2010 12:27:58 +0000 (14:27 +0200)]
make it more robust against read errors

8 years ago- remove debug output
Stephan Kulow [Wed, 14 Oct 2009 18:38:18 +0000 (20:38 +0200)]
- remove debug output
- add one more lock around read

8 years agomore locks, still with debug output
Stephan Kulow [Wed, 14 Oct 2009 16:01:09 +0000 (18:01 +0200)]
more locks, still with debug output

8 years agoavoid the threads messing with each other
Stephan Kulow [Wed, 14 Oct 2009 11:05:14 +0000 (13:05 +0200)]
avoid the threads messing with each other

8 years agostarting a background thread that will sync the cow file every second
Stephan Kulow [Tue, 13 Oct 2009 20:13:55 +0000 (22:13 +0200)]
starting a background thread that will sync the cow file every second

9 years agouse the same value written into the header
Stephan Kulow [Thu, 27 Aug 2009 14:31:59 +0000 (16:31 +0200)]
use the same value written into the header

9 years agotry to be less memory eating (bnc#533687)
Stephan Kulow [Tue, 25 Aug 2009 11:00:08 +0000 (13:00 +0200)]
try to be less memory eating (bnc#533687)

9 years agomake the part list an array to use binary search
Stephan Kulow [Sun, 16 Aug 2009 15:11:11 +0000 (17:11 +0200)]
make the part list an array to use binary search

9 years agolimit ro-cache by 100mb and let's use mmap for large parts
Stephan Kulow [Sun, 16 Aug 2009 13:56:06 +0000 (15:56 +0200)]
limit ro-cache by 100mb and let's use mmap for large parts

9 years agoignore
Stephan Kulow [Sun, 16 Aug 2009 12:04:33 +0000 (14:04 +0200)]
ignore

9 years agoremove debug output again
Stephan Kulow [Wed, 12 Aug 2009 18:45:41 +0000 (20:45 +0200)]
remove debug output again

9 years agofree the caches on exit
Stephan Kulow [Wed, 12 Aug 2009 12:54:44 +0000 (14:54 +0200)]
free the caches on exit

9 years ago- do not crash on logging
Stephan Kulow [Wed, 12 Aug 2009 12:30:30 +0000 (14:30 +0200)]
- do not crash on logging
- avoid endless loops on errors
- set max_readahead to 0

9 years agodon't overallocate memory or we get in trouble
Stephan Kulow [Wed, 12 Aug 2009 10:57:19 +0000 (12:57 +0200)]
don't overallocate memory or we get in trouble

9 years agoavoid compiler warnings
Stephan Kulow [Wed, 12 Aug 2009 10:39:19 +0000 (12:39 +0200)]
avoid compiler warnings

9 years ago- avoid deadlock
Stephan Kulow [Tue, 11 Aug 2009 21:11:15 +0000 (23:11 +0200)]
- avoid deadlock
- avoid endless loop
- print out accesses that trigger uncompress extra

9 years agoadd little debug tool from Jan Kara
Stephan Kulow [Tue, 11 Aug 2009 19:44:22 +0000 (21:44 +0200)]
add little debug tool from Jan Kara

9 years agoassertion is no longer true
Stephan Kulow [Tue, 11 Aug 2009 19:35:36 +0000 (21:35 +0200)]
assertion is no longer true

9 years agono need to reorder, just remove and append if changed
Stephan Kulow [Tue, 11 Aug 2009 16:10:24 +0000 (18:10 +0200)]
no need to reorder, just remove and append if changed

9 years agomake caching dynamic - not limiting to 60MB but to 30s
Stephan Kulow [Sat, 8 Aug 2009 20:35:42 +0000 (22:35 +0200)]
make caching dynamic - not limiting to 60MB but to 30s

9 years agofix progress in unclicfs
Stephan Kulow [Sat, 8 Aug 2009 16:17:53 +0000 (18:17 +0200)]
fix progress in unclicfs

9 years agoMerge branch 'master' of git@gitorious.org:opensuse/clicfs
Stephan Kulow [Sat, 8 Aug 2009 07:29:04 +0000 (09:29 +0200)]
Merge branch 'master' of git@gitorious.org:opensuse/clicfs

9 years agoremove debug output
Stephan Kulow [Sat, 8 Aug 2009 07:25:32 +0000 (09:25 +0200)]
remove debug output

9 years agomake unclic work by part and not by block (much faster)
Stephan Kulow [Sat, 8 Aug 2009 07:13:03 +0000 (09:13 +0200)]
make unclic work by part and not by block (much faster)

9 years agomake large block size configurable
Stephan Kulow [Sat, 8 Aug 2009 06:40:33 +0000 (08:40 +0200)]
make large block size configurable

9 years agoissue with access sorted out
Stephan Kulow [Sat, 8 Aug 2009 06:36:32 +0000 (08:36 +0200)]
issue with access sorted out

9 years agomove the place of largeparts and add debug
Stephan Kulow [Sat, 8 Aug 2009 06:33:04 +0000 (08:33 +0200)]
move the place of largeparts and add debug

9 years agoadd additional headers to have large parts at the beginning of the file
Stephan Kulow [Fri, 7 Aug 2009 20:43:02 +0000 (22:43 +0200)]
add additional headers to have large parts at the beginning of the file

9 years agoit's filesystems now
Stephan Kulow [Thu, 6 Aug 2009 08:33:28 +0000 (10:33 +0200)]
it's filesystems now

9 years agoless debug
Stephan Kulow [Thu, 6 Aug 2009 08:24:12 +0000 (10:24 +0200)]
less debug

9 years agofix find_next usage
Stephan Kulow [Thu, 6 Aug 2009 08:18:58 +0000 (10:18 +0200)]
fix find_next usage

9 years agomore debug
Stephan Kulow [Wed, 5 Aug 2009 14:59:46 +0000 (16:59 +0200)]
more debug

9 years agomove index pages around
Stephan Kulow [Wed, 5 Aug 2009 14:05:50 +0000 (16:05 +0200)]
move index pages around

9 years ago- don't put the cow index at the end but at the beginning
Stephan Kulow [Wed, 5 Aug 2009 11:40:35 +0000 (13:40 +0200)]
- don't put the cow index at the end but at the beginning
- fix handling of --ignore-cow-errors

9 years agoerror handling and debug
Stephan Kulow [Wed, 5 Aug 2009 11:04:57 +0000 (13:04 +0200)]
error handling and debug

9 years agothe factor from 4K to 512bytes is 8 not 2 - no idea
Stephan Kulow [Tue, 2 Jun 2009 14:58:57 +0000 (16:58 +0200)]
the factor from 4K to 512bytes is 8 not 2 - no idea

9 years agooutput more debug for the moment
Stephan Kulow [Wed, 27 May 2009 15:06:32 +0000 (17:06 +0200)]
output more debug for the moment

9 years agoreplace all fseeks
Stephan Kulow [Tue, 19 May 2009 16:05:59 +0000 (18:05 +0200)]
replace all fseeks

9 years agouse fseeko instead of fseek
Stephan Kulow [Tue, 19 May 2009 16:01:14 +0000 (18:01 +0200)]
use fseeko instead of fseek

9 years agoavoid size_t for file sizes (bnc#504627)
Stephan Kulow [Mon, 18 May 2009 11:45:56 +0000 (13:45 +0200)]
avoid size_t for file sizes (bnc#504627)

9 years agothe confusion between num_pages and write_pages is outdated and confused
Stephan Kulow [Mon, 18 May 2009 11:03:38 +0000 (13:03 +0200)]
the confusion between num_pages and write_pages is outdated and confused
wrong assertions to hit (bnc#504700)

9 years agomake it more readable
Stephan Kulow [Mon, 11 May 2009 13:52:01 +0000 (15:52 +0200)]
make it more readable

9 years agodon't try too hard to write out the cow
Stephan Kulow [Mon, 11 May 2009 13:10:02 +0000 (15:10 +0200)]
don't try too hard to write out the cow

9 years agofix corruption during write
Stephan Kulow [Mon, 11 May 2009 12:42:58 +0000 (14:42 +0200)]
fix corruption during write

9 years agofilesize in cow is now 64bit
Stephan Kulow [Mon, 11 May 2009 10:45:56 +0000 (12:45 +0200)]
filesize in cow is now 64bit

9 years ago-m is now short for --resevere-sparse and is valid for both memory and cow
Stephan Kulow [Fri, 8 May 2009 13:56:17 +0000 (15:56 +0200)]
-m is now short for --resevere-sparse and is valid for both memory and cow
new option --ignore-cow-errors

9 years agoavoid people confusing clicfs with squashfs and getting crashes
Stephan Kulow [Fri, 8 May 2009 08:19:52 +0000 (10:19 +0200)]
avoid people confusing clicfs with squashfs and getting crashes

9 years agoif the cow file is ro, then just read it
Stephan Kulow [Tue, 5 May 2009 12:13:03 +0000 (14:13 +0200)]
if the cow file is ro, then just read it

9 years agoif it's the last block, it's the last
Stephan Kulow [Sun, 26 Apr 2009 21:03:03 +0000 (23:03 +0200)]
if it's the last block, it's the last

9 years agoallow to define number of processors
Stephan Kulow [Sat, 25 Apr 2009 17:40:18 +0000 (19:40 +0200)]
allow to define number of processors

9 years agoMerge branch 'master' of git@git.opensuse.org:people/coolo/clicfs
Stephan Kulow [Sat, 25 Apr 2009 16:54:26 +0000 (18:54 +0200)]
Merge branch 'master' of git@git.opensuse.org:people/coolo/clicfs

9 years agosome valgrind cleanup
Stephan Kulow [Sat, 25 Apr 2009 17:54:09 +0000 (19:54 +0200)]
some valgrind cleanup

9 years agosome debug
Stephan Kulow [Sat, 25 Apr 2009 15:09:03 +0000 (17:09 +0200)]
some debug

9 years agodon't show so obvious :)
Stephan Kulow [Sat, 25 Apr 2009 07:09:02 +0000 (09:09 +0200)]
don't show so obvious :)

9 years agofix compile
Stephan Kulow [Fri, 24 Apr 2009 20:19:55 +0000 (22:19 +0200)]
fix compile

9 years agofix some compiler warnings
Stephan Kulow [Fri, 24 Apr 2009 20:18:03 +0000 (22:18 +0200)]
fix some compiler warnings

9 years agochange progress
Stephan Kulow [Fri, 24 Apr 2009 20:12:38 +0000 (22:12 +0200)]
change progress

9 years agosort the outs
Stephan Kulow [Fri, 24 Apr 2009 19:54:40 +0000 (21:54 +0200)]
sort the outs

9 years agomove code around to split into threads
Stephan Kulow [Fri, 24 Apr 2009 19:39:35 +0000 (21:39 +0200)]
move code around to split into threads

9 years agosteal more code and let it compile
Stephan Kulow [Fri, 24 Apr 2009 11:55:11 +0000 (13:55 +0200)]
steal more code and let it compile

9 years agocopy over some mksquashfs code
Stephan Kulow [Fri, 24 Apr 2009 09:40:14 +0000 (11:40 +0200)]
copy over some mksquashfs code

9 years agonever meant to release as LGPL
Stephan Kulow [Mon, 20 Apr 2009 18:31:33 +0000 (20:31 +0200)]
never meant to release as LGPL

9 years agoavoid / 0
Stephan Kulow [Mon, 20 Apr 2009 14:41:19 +0000 (16:41 +0200)]
avoid / 0

9 years agoadding dummy
Stephan Kulow [Mon, 20 Apr 2009 12:24:52 +0000 (14:24 +0200)]
adding dummy

9 years agofix thinko in lzma decoder
Stephan Kulow [Mon, 20 Apr 2009 11:31:25 +0000 (13:31 +0200)]
fix thinko in lzma decoder

9 years agoreuse the lzma strm
Stephan Kulow [Mon, 20 Apr 2009 11:14:58 +0000 (13:14 +0200)]
reuse the lzma strm
misc fixes

9 years agomake unclicfs work with new format
Stephan Kulow [Mon, 20 Apr 2009 08:58:50 +0000 (10:58 +0200)]
make unclicfs work with new format

9 years ago- use getopt in mkclicfs
Stephan Kulow [Mon, 20 Apr 2009 08:43:26 +0000 (10:43 +0200)]
- use getopt in mkclicfs
- make 32 blocks per part default
- make page size definable
- update man pages

9 years agocatch more errors
Stephan Kulow [Mon, 20 Apr 2009 08:13:36 +0000 (10:13 +0200)]
catch more errors

9 years agochanging magic from SK to CLIC
Stephan Kulow [Mon, 20 Apr 2009 08:01:00 +0000 (10:01 +0200)]
changing magic from SK to CLIC

9 years agocatch errors
Stephan Kulow [Mon, 20 Apr 2009 07:58:07 +0000 (09:58 +0200)]
catch errors

9 years agoreturn back to ~
Stephan Kulow [Fri, 17 Apr 2009 16:51:04 +0000 (18:51 +0200)]
return back to ~