[pso] [tema3] citire inode de pe disc - SOLUTIE

omar Chouydary chouydary at yahoo.com
Sat May 5 10:37:14 EEST 2007


Corect,
     bloc = offset / sb_blocksize + sbp->izone_block (unde sbp este structura pitix_super_block din pitix.h)
  E bine sa te folosesti de izone_block, dzone_block, etc.. din moment ce ai deja offset-urile acestor blocuri fata de device.
   
  Omar.
   
  Imi cer scuze pt omitere, vroiam sa ma refer mai mult la partea cu obtinerea offset-ului.

Florin <f.bratu at yahoo.com> wrote:
  
>>        bloc = offset / sb_blocksize -> nr. blocului

Cred ca corect ar fi :

  bloc = offset / sb_blocksize + 2 + 4096/sb_blocksize

Izone se gaseste pe disc dupa zonele ce contin superbloc-ul si
Imap si Dmap. 
Probabil ca o treaba similara se intampla si cand tre sa 
aducem de pe disc un bloc din zona de date...

    
---------------------------------
  Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games._______________________________________________
pso mailing list
pso at cursuri.cs.pub.ro
http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/pso


       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cursuri.cs.pub.ro/pipermail/pso/attachments/20070505/fc7e300b/attachment.htm


More information about the pso mailing list