• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
PBHGetVInfoSync result changed in Snow Leopard?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PBHGetVInfoSync result changed in Snow Leopard?


  • Subject: PBHGetVInfoSync result changed in Snow Leopard?
  • From: Timo Naroska <email@hidden>
  • Date: Thu, 10 Sep 2009 18:42:05 +0200

Hi All,

we encountered a problem with Carbon based applications when accessing our custom File System on Snow Leopard.
The applications in question use the (deprecated) PBHGetVInfoSync() call to retrieve a kind of "optimal I/O size".


The specific value returned by PBHGetVInfoSync() is in volumeParam.ioVAlBlkSiz. It appears that on Leopard there is
some random non-zero value returned. At least I was not able to determine how the returned value relates to any
information that my kernel driver returns either in vfs_getattr or in the vfsstatfs structure.


However on Snow Leopard the call always returns zero in ioVAlBlkSiz which results in infinite loops in the applications
as they are using the value as increment in read/write file loops.


I see that PBHGetVInfoSync() is long deprecated and that the apps not checking for zero values is bad style, but the question
remains which volume attributes in the unix kernel world are used to determine ioVAlBlkSiz and whether the change in Snow
Leopard is as designed or a bug?


Any help appreciated,
 Timo

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: PBHGetVInfoSync result changed in Snow Leopard?
      • From: Jim Luther <email@hidden>
  • Prev by Date: Re: Marking a filesystem as "slow"
  • Next by Date: Re: PBHGetVInfoSync result changed in Snow Leopard?
  • Previous by thread: Re: Marking a filesystem as "slow"
  • Next by thread: Re: PBHGetVInfoSync result changed in Snow Leopard?
  • Index(es):
    • Date
    • Thread