[OpenAFS-devel] "struct buf" in src/afs (libafs/libuafs)
Frank Batschulat - Solaris Sustaining Engineering
Frank.Batschulat@Sun.COM
Wed, 13 Mar 2002 21:56:07 +0-30-30
"Neulinger, Nathan" <nneul@umr.edu> wrote:
>Date: Wed, 13 Mar 2002 10:01:09 -0600
>Perhaps it's only present on some architectures, and not on others.
>Seems to me that something similar to the dummy define I did would be
>needed, but possibly in a big ifdef to check and see if it's defined or
>not.
>
>I just checked, looks like it is defined on FBSD but not on Linux.
>Haven't looked at solaris or hpux yet. So, probably something that
Of course, solaris defines it's own struct buf in /usr/include/sys/buf.h
frankB
>defines it in certain cases, and not in others would be worthwhile.
>
>Anyone interested in throwing together an autoconf check for struct buf
>being known?
>
>-- Nathan
>
>------------------------------------------------------------
>Nathan Neulinger EMail: nneul@umr.edu
>University of Missouri - Rolla Phone: (573) 341-4841
>Computing Services Fax: (573) 341-4216
>
>
>> -----Original Message-----
>> From: Craig_Everhart@transarc.com
>> [mailto:Craig_Everhart@transarc.com]
>> Sent: Wednesday, March 13, 2002 9:31 AM
>> To: Neulinger, Nathan
>> Subject: Re: [OpenAFS-devel] "struct buf" in src/afs (libafs/libuafs)
>>
>>
>> Hm. There really is a "struct buf" in the kernel, defined in
>> some file
>> like /usr/include/sys/buf.h (on some kernels). It's probably pretty
>> important for the cache manager to run on the client side, to use the
>> kernel version as opposed to a dummy version.
>>
>> Craig
>>
>_______________________________________________
>OpenAFS-devel mailing list
>OpenAFS-devel@openafs.org
>https://lists.openafs.org/mailman/listinfo/openafs-devel