Skip to content

libosd: Last updates for Linux 2.6.30-rc

Boaz Harrosh linux-scsi 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4libosd: potential ERR_PTR dereference in osd_initiator.cdrivers/scsi/osd/osd_initiator.c+2 -21 reply
2/4libosd: OSD2r05: Prepare for rev5 attribute list changesdrivers/scsi/osd/osd_initiator.c include/scsi/osd_protocol.h+83 -230 replies
3/4libosd: OSD2r05: OSD_CRYPTO_KEYID_SIZE will grow 20 => 32 bytesdrivers/scsi/osd/osd_initiator.c include/scsi/osd_protocol.h+68 -170 replies
4/4libosd: OSD2r05: on-the-wire changes for latest OSD2 revision 5.drivers/scsi/osd/osd_initiator.c include/scsi/osd_protocol.h+19 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] libosd: Last updates for Linux 2.6.30-rc

Hi dear James, list

I would like to push these 3 patches to support OSD2 revision 5 wire format, for the Linux 2.6.30-rcx series. So to minimize the maintainability headache of having two Kernel versions with two separate wire formats. (Pretending to be OSD2)

I have finally fixed the OSC's osd-target code to support OSD2 up to revision 5, and am able to push these changes to the Linux initiator. (Users will need the new HEAD at osd-target git-tree:
git://git.open-osd.org/osc-osd master)

Revision 5 is suppose to be the very last changes to OSD2 wire format, and is in general frozen state that should only accept fixes to the wording of the text, if any exist.

The very first patch is a BUG fix sent by Dan Carpenter found with "smatch", followed by three patches to fix the wire format for support of revision 5. Only the very last patch actually changes the wire format, the first two only refactor the code in preparation of the actual change.

Here is the list of patches:

[PATCH 1/4] potential ERR_PTR dereference in osd_initiator.c

[PATCH 2/4] libosd: OSD2r05: Prepare for rev5 attribute list changes [PATCH 3/4] libosd: OSD2r05: OSD_CRYPTO_KEYID_SIZE will grow 20 => 32 bytes [PATCH 4/4] libosd: OSD2r05: on-the-wire changes for latest OSD2 draft.

Please see last patch for summery of what changed.

Thanks in advance
Boaz