Linux NILFS development
 help / color / mirror / Atom feed
* directory entries
@ 2008-08-23 20:38 Reinoud Zandijk
       [not found] ` <20080823203853.GA19421-5cYspOl2ggRz6xQTk39kMVfVdRo2wo/d@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Reinoud Zandijk @ 2008-08-23 20:38 UTC (permalink / raw)
  To: NILFS Users mailing list


[-- Attachment #1.1: Type: text/plain, Size: 492 bytes --]

Dear folks,

i wondered why directory lengths are specified in blocksize units resulting 
in the last dirent in the block to fill up the space with its rec_len. 
Searching for free space to enter a directory entry i could use 
rec_len - NILFS_DIR_REC_LEN(last_dir_enty->namelen) as free space indicator 
but i wondered if it might not be a better practice to allow zero-length 
dir entries that are used to fill up the rest of the block with its 
rec_len.

Thoughts?

With regards,
Reinoud



[-- Attachment #1.2: Type: application/pgp-signature, Size: 478 bytes --]

[-- Attachment #2: Type: text/plain, Size: 158 bytes --]

_______________________________________________
users mailing list
users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org
https://www.nilfs.org/mailman/listinfo/users

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2008-09-03 16:32 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-23 20:38 directory entries Reinoud Zandijk
     [not found] ` <20080823203853.GA19421-5cYspOl2ggRz6xQTk39kMVfVdRo2wo/d@public.gmane.org>
2008-08-25  3:21   ` Ryusuke Konishi
     [not found]     ` <20080825.122125.65657043.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-08-25  3:30       ` Ryusuke Konishi
     [not found]         ` <20080825.123047.128885778.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-08-25 15:52           ` Reinoud Zandijk
     [not found]             ` <20080825155243.GA12855-5cYspOl2ggRz6xQTk39kMVfVdRo2wo/d@public.gmane.org>
2008-08-26 10:29               ` Ryusuke Konishi
     [not found]                 ` <20080826.192942.104752679.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-08-26 13:29                   ` Reinoud Zandijk
     [not found]                     ` <20080901.143956.08023399.ryusuke@osrg.net>
     [not found]                       ` <20080901.143956.08023399.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-09-01  5:51                         ` Shaya Potter
     [not found]                           ` <48BB82F7.4070607-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
2008-09-01  8:16                             ` Ryusuke Konishi
     [not found]                               ` <20080901.171643.74124381.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-09-01 14:27                                 ` Shaya Potter
     [not found]                                   ` <48BBFBEA.2000308-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
2008-09-01 17:31                                     ` Ryusuke Konishi
2008-09-01 11:07                         ` Reinoud Zandijk
     [not found]                           ` <20080901110730.GA21008-5cYspOl2ggRz6xQTk39kMVfVdRo2wo/d@public.gmane.org>
2008-09-01 16:51                             ` Ryusuke Konishi
     [not found]                               ` <20080902.015156.126164477.ryusuke-sG5X7nlA6pw@public.gmane.org>
2008-09-02 15:02                                 ` Reinoud Zandijk
     [not found]                                   ` <20080902150226.GA28292-5cYspOl2ggRz6xQTk39kMVfVdRo2wo/d@public.gmane.org>
2008-09-03 12:39                                     ` Reinoud Zandijk
2008-09-03 16:32                                     ` Ryusuke Konishi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox