fallocate for FFS

2023-10-23 Thread Bruno Melo
Hi guys, Is this project https://wiki.netbsd.org/projects/project/ffs-fallocate/ easy they way it seems to be? Basically, it is just create a ffs_fallocate function in sys/ufs/ffs/ffs_alloc.c. Inside this function I make a loop calling the ffs_alloc function. During the loop I should check for

Re: fallocate for FFS

2022-10-04 Thread Patryk
Yes, me. W dniu wtorek, 4 października 2022 Piyush Sachdeva < piyushsachdeva...@gmail.com> napisał(a): > Is someone currently looking into this? > > -- > Best Regards, > Piyush Sachdeva > -- Pozdrawiam, Patryk Ząbkiewicz

Re: fallocate for FFS

2022-10-03 Thread Piyush Sachdeva
Is someone currently looking into this? -- Best Regards, Piyush Sachdeva

Re: fallocate for FFS

2022-09-27 Thread David Holland
On Mon, Sep 26, 2022 at 11:53:46PM +, Emmanuel Dreyfus wrote: > > > I will try to figure it out, since its not yet implemented the syscall > > > is a > > > good way to start dev in BSD kernel. > > > > I'm not sure about that; many people have started looking at it and > > not got anywhe

Re: fallocate for FFS

2022-09-26 Thread Mouse
>>> I will try to figure it out, since its not yet implemented the >>> syscall is a good way to start dev in BSD kernel. >> I'm not sure about that; many people have started looking at it and >> not got anywhere. > It is true that adding a system call is an easy entry point to learn > about the ker

Re: fallocate for FFS

2022-09-26 Thread Emmanuel Dreyfus
On Mon, Sep 26, 2022 at 11:24:15PM +, David Holland wrote: > > I will try to figure it out, since its not yet implemented the syscall is a > > good way to start dev in BSD kernel. > > I'm not sure about that; many people have started looking at it and > not got anywhere. It is true that add

Re: fallocate for FFS

2022-09-26 Thread David Holland
On Mon, Sep 26, 2022 at 06:15:23PM +0200, Patryk wrote: > I will try to figure it out, since its not yet implemented the syscall is a > good way to start dev in BSD kernel. I'm not sure about that; many people have started looking at it and not got anywhere. -- David A. Holland dholl...@netbsd

Re: fallocate for FFS

2022-09-26 Thread Patryk
Hi, I will try to figure it out, since its not yet implemented the syscall is a good way to start dev in BSD kernel. Pozdrawiam, Patryk Ząbkiewicz niedz., 25 wrz 2022 o 21:15 Reinoud Zandijk napisał(a): > Hi, > > On Fri, Sep 23, 2022 at 03:51:26PM +0200, Patryk wrote: > > is this item already

Re: fallocate for FFS

2022-09-25 Thread Reinoud Zandijk
Hi, On Fri, Sep 23, 2022 at 03:51:26PM +0200, Patryk wrote: > is this item already developed in netBSD or should I start looking into it ? > https://wiki.netbsd.org/projects/project/ffs-fallocate/ AFAIK, its not implemented yet in NetBSD. I guess it got a bit on the back burner due to the tendenc

fallocate for FFS

2022-09-23 Thread Patryk
Hi, is this item already developed in netBSD or should I start looking into it ? https://wiki.netbsd.org/projects/project/ffs-fallocate/

fallocate for ffs

2019-07-23 Thread APOORV SACHAN
hi! i am apoorv! I'm interested in working on this project. fallocate for ffs: https://wiki.netbsd.org/projects/project/ffs-fallocate/ can you direct me further ? thanks

Re: About project 'fallocate for FFS'

2018-04-29 Thread Manas Mangaonkar
am interested in working on project 'fallocate for FFS'. I > wanted to make sure that this project is still open and someone's not > assigned to it already. Also, I have some questions about it. > > I have read file system internals guide and have some general ideas on

About project 'fallocate for FFS'

2018-04-29 Thread Jay Bhavsar
Hello. I'm Jay and I am interested in working on project 'fallocate for FFS'. I wanted to make sure that this project is still open and someone's not assigned to it already. Also, I have some questions about it. I have read file system internals guide and have some general id

Re: fallocate for FFS anyone working on this ?

2018-03-17 Thread David Holland
On Sat, Mar 17, 2018 at 01:16:38PM +0530, Manas Mangaonkar wrote: > I am a computer Engineering Sophomore year student and want to work on > this(not as a part of GSOC or anything else) Is anyone else working on > this,If no can you point to some resources that will help me get started.I > want

fallocate for FFS anyone working on this ?

2018-03-17 Thread Manas Mangaonkar
Hey, I am a computer Engineering Sophomore year student and want to work on this(not as a part of GSOC or anything else) Is anyone else working on this,If no can you point to some resources that will help me get started.I want to begin coding asap. Familiar with Unix

Re: fallocate for FFS

2017-04-10 Thread Christos Zoulas
In article , Talha Karadeniz wrote: >-=-=-=-=-=- >-=-=-=-=-=- > >Hi, > >I am writing this mail to request authorization for joining the development >of the project 'fallocate for FFS' [I am new at NetBSD and system >programming, so I chose this one as a start

fallocate for FFS

2017-04-10 Thread Talha Karadeniz
Hi, I am writing this mail to request authorization for joining the development of the project 'fallocate for FFS' [I am new at NetBSD and system programming, so I chose this one as a starting point: http://wiki.netbsd.org/projects/project/ffs-fallocate], if it is still active and if y

Re: [PATCH] fallocate() for FFS

2014-09-26 Thread David Holland
On Sat, Sep 27, 2014 at 12:16:43AM +, Emmanuel Dreyfus wrote: > > but even ignoring that, the patch doesn't seem to actually work: > > "ls -ls" shows that the number of blocks allocated to the file doesn't > > change. > > But OTOH I df shows a growing FS. Did I just managed to leak block

Re: [PATCH] fallocate() for FFS

2014-09-26 Thread Emmanuel Dreyfus
On Fri, Sep 26, 2014 at 09:16:24AM -0700, Chuck Silvers wrote: > but even ignoring that, the patch doesn't seem to actually work: > "ls -ls" shows that the number of blocks allocated to the file doesn't change. But OTOH I df shows a growing FS. Did I just managed to leak blocks that are allocated

Re: [PATCH] fallocate() for FFS

2014-09-26 Thread Emmanuel Dreyfus
On Fri, Sep 26, 2014 at 09:16:24AM -0700, Chuck Silvers wrote: > the bigger problem is that fallocate() wants a way to record that the blocks > are not initialized, so that reading from those offsets can return zeroes > instead of reading the uninitialized blocks from disk, but the FFS metadata > h

Re: [PATCH] fallocate() for FFS

2014-09-26 Thread Chuck Silvers
On Fri, Sep 26, 2014 at 06:07:21AM +0200, Emmanuel Dreyfus wrote: > Emmanuel Dreyfus wrote: > > > Implementing fallocate for FFS seems quite obvious. Is there anything I > > missed in the patch below? Is it good enough to commit? > > Updated version that spares some p

Re: [PATCH] fallocate() for FFS

2014-09-25 Thread Emmanuel Dreyfus
Emmanuel Dreyfus wrote: > Implementing fallocate for FFS seems quite obvious. Is there anything I > missed in the patch below? Is it good enough to commit? Updated version that spares some panic by properly calling uvm_vnp_setsize(). Any comment? Index: sys/ufs/ffs/ffs_ex

[PATCH] fallocate() for FFS

2014-09-24 Thread Emmanuel Dreyfus
Implementing fallocate for FFS seems quite obvious. Is there anything I missed in the patch below? Is it good enough to commit? This lets me discover that posix_fallocate() libc stub is buggy. Using it through #include leads argument corruption. Defining it as int posix_fallocate(int, int