Skip to content


Subversion checkout URL

You can clone with
Download ZIP

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 3 commits
  • 4 files changed
  • 1 commit comment
  • 2 contributors
Commits on Dec 31, 2013
@graysky2 update license b48f7af
Commits on Jan 03, 2014
@Nefelim4ag Nefelim4ag [RFC improve performance for CoW]
I guided by
For rsync added --inplace, also added --no-whole-file,
--dalay-updates deleted (conflict with --inplace).
But i don't know how this affect for NoCoW fs.
To cp  added --reflink=auto - this reduce time to create failsafe recovery copy, safe on NoCoW
in my case dir=1.5G on ssd,btrfs
cp -a : 18s
cp -a --reflink=auto : 1.7s
@graysky2 better for CoW file systems like btrfs 2b6f3e4
Showing with 9 additions and 5 deletions.
  1. +4 −0 CHANGELOG
  2. +1 −1  MIT
  3. +1 −1  Makefile
  4. +3 −3 common/
@@ -1,3 +1,7 @@
+RFC improve performance for CoW filesystems such as BTRFS (TimofeyTitovets).
Fixed typo in config file relating to google-chrome-unstable (brenix).
2  MIT
@@ -1,4 +1,4 @@
-Copyright (c) 2013 graysky
+Copyright (c) 2013-2014 graysky
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
2  Makefile
@@ -1,4 +1,4 @@
-VERSION = 5.44
+VERSION = 5.45
PN = profile-sync-daemon
PREFIX ?= /usr
6 common/
@@ -446,7 +446,7 @@ ungraceful_state_check() {
[[ -h "$DIR" ]] && unlink "$DIR"
NOW=$(date +%Y%m%d_%H%M%S)
if [[ -d "$BACKUP" ]]; then
- cp -a "$BACKUP" "$BACKUP-crashrecovery-$NOW"
+ cp -a --reflink=auto "$BACKUP" "$BACKUP-crashrecovery-$NOW"
mv "$BACKUP" "$DIR"
@@ -484,11 +484,11 @@ do_sync() {
# sync the tmpfs targets to the disc
if [[ -e $DIR/.flagged ]]; then
- rsync -aog --delete-after --delay-updates --exclude .flagged "$DIR/" "$BACKUP/"
+ rsync -aog --delete-after --inplace --no-whole-file --exclude .flagged "$DIR/" "$BACKUP/"
# initial sync
# keep user from launching browser while rsync is active
- rsync -aog --delay-updates "$BACKUP/" "$VOLATILE/$user-$browser$suffix/"
+ rsync -aog --inplace --no-whole-file "$BACKUP/" "$VOLATILE/$user-$browser$suffix/"
ln -s "$VOLATILE/$user-$browser$suffix" "$DIR"
chown -h $user:$group "$DIR"
touch "$DIR/.flagged"

Showing you all comments on commits in this comparison.


Please use your real name here.

Something went wrong with that request. Please try again.