Re: SCSI trees, merges and git status

2005-04-18 Thread Linus Torvalds


On Mon, 18 Apr 2005, James Bottomley wrote:
 
 It looks like the merge tree has contamination from the scsi-misc-2.6
 tree ... possibly because the hosting system got the merged objects when
 I pushed.

Nope, the way I merge, if I get a few objects it shouldn't matter at all. 
I'll just look at your HEAD, and merge with the objects that represents.

Afterwards, if I have extra objects, I'll see them with fsck-cache. 

 Could you strip it back and I'll check out the repos on www.parisc-
 linux.org?

Git does work like BK in the way that you cannot remove history when you
have distributed it. Once it's there, it's there.

The patches from you I have in my tree are:

scsi: add DID_REQUEUE to the error handling
zfcp: add point-2-point support
[PATCH] Convert i2o to compat_ioctl
[PATCH] kill old EH constants
[PATCH] scsi: remove meaningless scsi_cmnd-serial_number_at_timeout 
field
[PATCH] scsi: remove unused scsi_cmnd-internal_timeout field
[PATCH] remove outdated print_* functions
[PATCH] consolidate timeout defintions in scsi.h

or at least that's what they claim in their changelogs.

Oh, and here's the diffstat that matches scsi:

 drivers/block/scsi_ioctl.c |5 -
 drivers/s390/scsi/zfcp_aux.c   |4 -
 drivers/s390/scsi/zfcp_def.h   |5 +
 drivers/s390/scsi/zfcp_erp.c   |   20 +
 drivers/s390/scsi/zfcp_fsf.c   |   38 --
 drivers/s390/scsi/zfcp_fsf.h   |6 +
 drivers/s390/scsi/zfcp_sysfs_adapter.c |6 +
 drivers/scsi/53c7xx.c  |   23 +++---
 drivers/scsi/BusLogic.c|7 -
 drivers/scsi/NCR5380.c |9 +-
 drivers/scsi/advansys.c|7 -
 drivers/scsi/aha152x.c |   17 ++--
 drivers/scsi/arm/acornscsi.c   |9 +-
 drivers/scsi/arm/fas216.c  |9 +-
 drivers/scsi/arm/scsi.h|2 
 drivers/scsi/atari_NCR5380.c   |9 +-
 drivers/scsi/constants.c   |2 
 drivers/scsi/ips.c |7 -
 drivers/scsi/ncr53c8xx.c   |   14 ---
 drivers/scsi/pci2000.c |4 -
 drivers/scsi/qla2xxx/qla_dbg.c |6 -
 drivers/scsi/scsi.c|5 -
 drivers/scsi/scsi.h|   43 ---
 drivers/scsi/scsi_error.c  |   11 ---
 drivers/scsi/scsi_ioctl.c  |5 -
 drivers/scsi/scsi_lib.c|2 
 drivers/scsi/scsi_obsolete.h   |  106 -
 drivers/scsi/scsi_priv.h   |5 -
 drivers/scsi/seagate.c |5 -
 drivers/scsi/sg.c  |3 
 drivers/scsi/sun3_NCR5380.c|9 +-
 drivers/scsi/sym53c8xx_2/sym_glue.c|6 -
 drivers/scsi/ultrastor.c   |4 -

so it doesn't look like there's a _lot_ wrong. Send in a patch to revert 
anything that needs reverting..

Linus
-
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: SCSI trees, merges and git status

2005-04-18 Thread James Bottomley
On Mon, 2005-04-18 at 17:03 -0700, Linus Torvalds wrote:
 The patches from you I have in my tree are:
 
   scsi: add DID_REQUEUE to the error handling
   zfcp: add point-2-point support
   [PATCH] Convert i2o to compat_ioctl
   [PATCH] kill old EH constants
   [PATCH] scsi: remove meaningless scsi_cmnd-serial_number_at_timeout 
 field
   [PATCH] scsi: remove unused scsi_cmnd-internal_timeout field
   [PATCH] remove outdated print_* functions
   [PATCH] consolidate timeout defintions in scsi.h

Those are a subset of patches from my scsi-misc-2.6 tree .. that's the
problem.  The actual patches should be:

  o zfcp: convert to compat_ioctl
  o sg.c: update
  o updates for CFQ oops fix
  o finally fix 53c700 to use the generic iomem infrastructure
  o fix NMI lockup with CFQ scheduler

I've redone the scsi-rc-fixes-2.6 tree to remove all the contamination
and reset the head correctly.

I've verified that if I strip your tree back to 

54ff646c589dcc35182d01c5b557806759301aa3

and then do a 

git-pull-script rsync://www.parisc-linux.org/~jejb/scsi-rc-fixes-2.6.git

Then the git-pull... script actually does the merge and the resulting
tree checks out against BK

Sorry for the screw up.

James


 or at least that's what they claim in their changelogs.
 
 Oh, and here's the diffstat that matches scsi:
 
  drivers/block/scsi_ioctl.c |5 -
  drivers/s390/scsi/zfcp_aux.c   |4 -
  drivers/s390/scsi/zfcp_def.h   |5 +
  drivers/s390/scsi/zfcp_erp.c   |   20 +
  drivers/s390/scsi/zfcp_fsf.c   |   38 --
  drivers/s390/scsi/zfcp_fsf.h   |6 +
  drivers/s390/scsi/zfcp_sysfs_adapter.c |6 +
  drivers/scsi/53c7xx.c  |   23 +++---
  drivers/scsi/BusLogic.c|7 -
  drivers/scsi/NCR5380.c |9 +-
  drivers/scsi/advansys.c|7 -
  drivers/scsi/aha152x.c |   17 ++--
  drivers/scsi/arm/acornscsi.c   |9 +-
  drivers/scsi/arm/fas216.c  |9 +-
  drivers/scsi/arm/scsi.h|2 
  drivers/scsi/atari_NCR5380.c   |9 +-
  drivers/scsi/constants.c   |2 
  drivers/scsi/ips.c |7 -
  drivers/scsi/ncr53c8xx.c   |   14 ---
  drivers/scsi/pci2000.c |4 -
  drivers/scsi/qla2xxx/qla_dbg.c |6 -
  drivers/scsi/scsi.c|5 -
  drivers/scsi/scsi.h|   43 ---
  drivers/scsi/scsi_error.c  |   11 ---
  drivers/scsi/scsi_ioctl.c  |5 -
  drivers/scsi/scsi_lib.c|2 
  drivers/scsi/scsi_obsolete.h   |  106 
 -
  drivers/scsi/scsi_priv.h   |5 -
  drivers/scsi/seagate.c |5 -
  drivers/scsi/sg.c  |3 
  drivers/scsi/sun3_NCR5380.c|9 +-
  drivers/scsi/sym53c8xx_2/sym_glue.c|6 -
  drivers/scsi/ultrastor.c   |4 -
 
 so it doesn't look like there's a _lot_ wrong. Send in a patch to revert 
 anything that needs reverting..
 
   Linus
 -
 To unsubscribe from this list: send the line unsubscribe linux-scsi in
 the body of a message to [EMAIL PROTECTED]
 More majordomo info at  http://vger.kernel.org/majordomo-info.html

-
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: SCSI trees, merges and git status

2005-04-18 Thread James Bottomley
On Tue, 2005-04-19 at 10:10 +1000, David Woodhouse wrote:
 On Mon, 2005-04-18 at 17:03 -0700, Linus Torvalds wrote:
  Git does work like BK in the way that you cannot remove history when you
  have distributed it. Once it's there, it's there.
 
 But older history can be pruned, and there's really no reason why an
 http-based 'git pull' couldn't simply refrain from fetching commits
 older than a certain threshold.

Yes, that's what I did to get back to the commit just before the merge:

fsck-cache --unreachable 54ff646c589dcc35182d01c5b557806759301aa3|awk
'/^unreachable /{print $2}'|sed 's:^\(..\):.git/objects/\1/:'|xargs rm

removes all the objects from the tree prior to the bogus commit---it's
based on your (Linus') git-prune-script.

James


-
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: SCSI trees, merges and git status

2005-04-18 Thread Linus Torvalds


On Mon, 18 Apr 2005, James Bottomley wrote:
 
 Then the git-pull... script actually does the merge and the resulting
 tree checks out against BK

So?

What do you intend to do with all the other stuff I've already put on top?

Yes, I can undo my tree, but my tree has had more stuff in it since I 
pulled from you, so not only will that confuse everybody who already got 
the up-to-date tree, it will also undo stuff that was correct.

In other words, HISTORY CANNOT BE UNDONE.

That's the rule, and it's a damn good one. It was the rule when we used
BK, and it's the rule now. The fact that you can undo your history in
_your_ tree doesn't change anything at all.

So I can merge with your new tree, but that won't actually help any: I'll 
just get a superset, the way you did things. 

The way to remove patches is to explicitly revert them (effectively
applying a reverse diff), but I'm wondering if it's worth it in this case. 
I looked at the patches I did get, and they didn't look horribly bad per 
se. Are they dangerous?

2.6.12 is some time away, if for no other reason than the fact that this 
SCM thing has obviously eaten two weeks of my time. So I'd be inclined to 
chalk this up as a learning experience with git, and just go forward.

Linus
-
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: SCSI trees, merges and git status

2005-04-18 Thread Linus Torvalds


On Mon, 18 Apr 2005, James Bottomley wrote:
 
 Fair enough.  If you pull from
 
 rsync://www.parisc-linux.org/~jejb/scsi-misc-2.6.git

Thanks. Pulled and pushed out.

 Doing this exposed two bugs in your merge script:
 
 1) It doesn't like a completely new directory (the misc tree contains a
 new drivers/scsi/lpfc)
 2) the merge testing logic is wrong.  You only want to exit 1 if the
 merge fails.

Applied.

Linus
-
To unsubscribe from this list: send the line unsubscribe git in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html