From: "Martin K. Petersen" Subject: Re: [PATCH 0 of 7] Block/SCSI Data Integrity Support Date: Tue, 10 Jun 2008 16:47:52 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from rgminet01.oracle.com ([148.87.113.118]:60235 "EHLO rgminet01.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751880AbYFJUs1 (ORCPT ); Tue, 10 Jun 2008 16:48:27 -0400 In-Reply-To: (Jeff Moyer's message of "Tue\, 10 Jun 2008 14\:49\:48 -0400") Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Jeff Moyer Cc: "Martin K. Petersen" , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org >>>>> "Jeff" == Jeff Moyer writes: Jeff> So, is it safe to say that the library routines for Jeff> integrity-aware file systems have not been tested at all? Jeff> Specifically, I'm talking about: bio_integrity_tag_size Jeff> bio_integrity_set_tag bio_integrity_get_tag I have not tried using them from within a filesystem, if that's what you mean. But I have attached random strings to bios and read them back later. Jeff> gcc (GCC) 4.1.2 20071124 (Red Hat 4.1.2-41) Ok, I'm trying to chase down a 5.2 box to figure out what the problem is. Maybe I'll just move that function to the header file. Jeff> I did a new clone (just to be sure I got your change) and I get Jeff> the same problem. I also can't see the changeset in the log, so Jeff> are you sure you pushed it? Yup, it's there. Jeff> I got rid of the inline in the definition in bio.h. The .c file Jeff> didn't define the function as inline, so I didn't have to change Jeff> it. It seems to be building now. The problem is that your gcc is unhappy about the fact that the inlined function is defined elsewhere. The gcc info page said only declare it inline in the header and not the declaration. The change I pushed removed inline from the .c file. But that didn't help. -- Martin K. Petersen Oracle Linux Engineering