md raid acceleration and the async_tx api
Hi Dan,
Quoted 5 lines · you
You need to fetch from the 'md-for-linus' tree. But I have attached them as well.
git fetch
git://lost.foo-projects.org/~dwillia2/git/iop
md-for-linus:md-for-linus
Thanks.
Unrelated question. Comparing the drivers/md/raid5.c file in the Linus's
2.6.23-rc6 tree and in your md-for-linus one I'd found the following difference in the expand-related part of the handle_stripe5() function:
- s.locked += handle_write_operations5(sh, 1, 1);
+ s.locked += handle_write_operations5(sh, 0, 1);
That is, in your case we are passing rcw=0, whereas in the Linus's case thehandle_write_operation5() is called with rcw=1. What code is correct ?
Regards, Yuri
Quoted 20 lines · Yuri Tikhonov
Hi Dan,
Quoted 5 lines · you
You need to fetch from the 'md-for-linus' tree. But I have attached them as well.
git fetch
git://lost.foo-projects.org/~dwillia2/git/iop
md-for-linus:md-for-linusThanks.
Unrelated question. Comparing the
drivers/md/raid5.cfile in the Linus's
2.6.23-rc6 tree and in your md-for-linus one I'd found the following difference in the expand-related part of thehandle_stripe5()function:(quoted diff) +1
-1- s.locked += handle_write_operations5(sh, 1, 1); + s.locked += handle_write_operations5(sh, 0, 1); That is, in your case we are passing rcw=0, whereas in the Linus's case the
Quoted 2 lines
handle_write_operation5()is called with rcw=1. What code is correct ?
There was a recent bug discovered in my changes to the expansion code.
The fix has now gone into Linus's tree through Andrew's tree. I kept
the fix out of my 'md-for-linus' tree to prevent it getting dropped from -mm due to automatic git-tree merge-detection. I have now rebased my git tree so everything is in sync.
However, after talking with Neil at LCE we came to the conclusion that it would be best if I just sent patches since git tree updates tend to not get enough review, and because the patch sets will be more manageable now that the big pieces of the acceleration infrastructure have been merged.
Quoted 1 line
Regards, Yuri
Thanks,
Dan
Hello Dan ,
Quoted 33 lines · Dan Williams
Quoted 18 lines · Yuri Tikhonov
Hi Dan,
Quoted 5 lines · you
You need to fetch from the 'md-for-linus' tree. But I have attached them as well.
git fetch
git://lost.foo-projects.org/~dwillia2/git/iop
md-for-linus:md-for-linusThanks.
Unrelated question. Comparing the
drivers/md/raid5.cfile in the Linus's
2.6.23-rc6 tree and in your md-for-linus one I'd found the following difference in the expand-related part of thehandle_stripe5()function:(quoted diff) +1
-1- s.locked += handle_write_operations5(sh, 1, 1); + s.locked += handle_write_operations5(sh, 0, 1); That is, in your case we are passing rcw=0, whereas in the Linus's case theQuoted 2 lines
handle_write_operation5()is called with rcw=1. What code is correct ?There was a recent bug discovered in my changes to the expansion code. The fix has now gone into Linus's tree through Andrew's tree. I kept the fix out of my 'md-for-linus' tree to prevent it getting dropped from -mm due to automatic git-tree merge-detection. I have now rebased my git tree so everything is in sync.
However, after talking with Neil at LCE we came to the conclusion that it would be best if I just sent patches since git tree updates tend to not get enough review, and because the patch sets will be more manageable now that the big pieces of the acceleration infrastructure have been merged.
Quoted 4 lines
Quoted 1 line
Regards, Yuri
Thanks,
Dan
Does this discussion of patches include any changes to cure the 'BUG'
instance I reported ?
ie: raid5:md3: kernel BUG , followed by , Silent halt .
Tia , JimL
Signature · 5 lines
+-----------------------------------------------------------------+ | James W. Laferriere | System Techniques | Give me VMS | | Network Engineer | 663 Beaumont Blvd | Give me Linux | | [email protected] | Pacifica, CA. 94044 | only on AXP | +-----------------------------------------------------------------+
Quoted 8 lines
From: Mr. James W. Laferriere [mailto:[email protected]]
Hello Dan ,Quoted 4 lines · Dan Williams
Quoted 3 lines · Yuri Tikhonov
Hi Dan,
Quoted 1 line · you
You need to fetch from the 'md-for-linus' tree. But I have
attached
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
them as well.
git fetch
git://lost.foo-projects.org/~dwillia2/git/iop
md-for-linus:md-for-linusThanks.
Unrelated question. Comparing the
drivers/md/raid5.cfile in the
Linus's
Quoted 1 line
Quoted 1 line
Quoted 1 line
2.6.23-rc6 tree and in your md-for-linus one I'd found the
following
Quoted 1 line
Quoted 1 line
Quoted 1 line
difference in the expand-related part of the
handle_stripe5()
function:
Quoted 5 lines
Quoted 5 lines
Review
Quoted 5 lines
(quoted diff) +1
-1- s.locked += handle_write_operations5(sh, 1, 1); + s.locked += handle_write_operations5(sh, 0, 1); That is, in your case we are passing rcw=0, whereas in the Linus's
case
Quoted 2 lines
the
Quoted 1 line
Quoted 1 line
handle_write_operation5()is called with rcw=1. What code is
correct ?
Quoted 2 lines
Quoted 2 lines
Quoted 1 line
There was a recent bug discovered in my changes to the expansion
code.
Quoted 1 line
Quoted 1 line
The fix has now gone into Linus's tree through Andrew's tree. I
kept
Quoted 5 lines
Quoted 5 lines
the fix out of my 'md-for-linus' tree to prevent it getting dropped from -mm due to automatic git-tree merge-detection. I have now rebased my git tree so everything is in sync.
However, after talking with Neil at LCE we came to the conclusion
that
Quoted 1 line
Quoted 1 line
it would be best if I just sent patches since git tree updates tend
to
Quoted 2 lines
Quoted 2 lines
not get enough review, and because the patch sets will be more manageable now that the big pieces of the acceleration
infrastructure
Quoted 7 lines
Quoted 6 lines
have been merged.
Quoted 1 line
Regards, Yuri
Thanks,
DanDoes this discussion of patches include any changes to cure the
'BUG'
Quoted 3 lines
instance I reported ?
ie: raid5:md3: kernel BUG , followed by , Silent halt .
No, this is referring to:
http://marc.info/?l=linux-raid&m=118845398229443&w=2
The BUG you reported currently looks to be caused by interactions with the bitmap support code... still investigating.
Quoted 1 line
Tia , JimL
Thanks,
Dan