История изменений
Исправление Deleted, (текущая версия) :
В master'е эта проблема решена, и мы можем аналогичным способом найти патч, решающий проблему.
Для начала - кардинально поменяем представления о добре и зле!
diff --git a/bisect b/bisect
index 53b5de5..d815141 100755
--- a/bisect
+++ b/bisect
@@ -22,5 +22,5 @@ qemu-kvm \
result=$( tr -d "\0\n" <"${RES_IMAGE}" )
echo "RESULT: $result"
-[ $result -eq 1 ] && exit 1
-exit 0
+[ $result -eq 1 ] && exit 0
+exit 1
git bisect start origin/master v3.10
git bisect run ~/projects/test/splice-block-test/bisect
8d0207652cbe27d1f962050737848e5ad4671958 is the first bad commit
commit 8d0207652cbe27d1f962050737848e5ad4671958
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Sat Apr 5 04:27:08 2014 -0400
->splice_write() via ->write_iter()
iter_file_splice_write() - a ->splice_write() instance that gathers the
pipe buffers, builds a bio_vec-based iov_iter covering those and feeds
it to ->write_iter(). A bunch of simple cases coverted to that...
[AV: fixed the braino spotted by Cyrill]
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
:040000 040000 a5308b970d532be09888bc1304caf2ffbf3a7638 f70464499ea87208dfaac32cf6c2d378ff46856d M fs
:040000 040000 bb6dfd94f695a405b40f078dd82aeca89d12d4eb 770ad6bc1e9ba732e0a36191dff52462e5a34e26 M include
bisect run success
Может кому-нибудь всё это пригодится.
Исходная версия Deleted, :
Автоматизация git bisect на примере... [part 3]
В master'е эта проблема решена, и мы можем аналогичным способом найти патч, решающий проблему.
Для начала - кардинально поменяем предстваления о добре и зле!
diff --git a/bisect b/bisect
index 53b5de5..d815141 100755
--- a/bisect
+++ b/bisect
@@ -22,5 +22,5 @@ qemu-kvm \
result=$( tr -d "\0\n" <"${RES_IMAGE}" )
echo "RESULT: $result"
-[ $result -eq 1 ] && exit 1
-exit 0
+[ $result -eq 1 ] && exit 0
+exit 1
git bisect start origin/master v3.10
git bisect run ~/projects/test/splice-block-test/bisect
8d0207652cbe27d1f962050737848e5ad4671958 is the first bad commit
commit 8d0207652cbe27d1f962050737848e5ad4671958
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Sat Apr 5 04:27:08 2014 -0400
->splice_write() via ->write_iter()
iter_file_splice_write() - a ->splice_write() instance that gathers the
pipe buffers, builds a bio_vec-based iov_iter covering those and feeds
it to ->write_iter(). A bunch of simple cases coverted to that...
[AV: fixed the braino spotted by Cyrill]
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
:040000 040000 a5308b970d532be09888bc1304caf2ffbf3a7638 f70464499ea87208dfaac32cf6c2d378ff46856d M fs
:040000 040000 bb6dfd94f695a405b40f078dd82aeca89d12d4eb 770ad6bc1e9ba732e0a36191dff52462e5a34e26 M include
bisect run success
Может кому-нибудь всё это пригодится.