freeing disk block in 4.x kernel

2005-12-04 Thread Siddharth Aggarwal
Hi, I am trying to find out where in the kernel code blocks on disk are freed. I want to track all the blocks freed on the disk as a result of file deletes etc., in my pseudo disk driver. Is there an equivalent of a blockfree() or something in the 4.x kernel code, where I can put a hook into

using specfs benchmark on BSD 4.10

2005-08-26 Thread Siddharth Aggarwal
Hi, I would like to set up and run the specfs benchmark on a BSD 4.10 machine. I have been searching around for a while on how to do it, but no luck so far. Could anybody please point me to where I can get the source code, build/install, and configure the system so that I can profile

ffs snapshots

2005-05-09 Thread Siddharth Aggarwal
Hi, I was wondering why the limit for file system snapshots in BSD 5 has been set to 20. Is it a limitation due to the way this feature has been implemented? -Siddharth. ___ freebsd-hackers@freebsd.org mailing list

giving up on 1 buffers error messsage

2005-02-22 Thread Siddharth Aggarwal
syncing disks... 54 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 giving up on 1 buffers Hi, I am referring to the message when the code in kern_shutdown.c in bsd 4.10 is called at the time of boot() system call My understanding is that this message tells us that 1 buffer from the buffer cache

giving up on 1 buffers error messsage

2005-02-19 Thread Siddharth Aggarwal
syncing disks... 54 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 giving up on 1 buffers Hi, I am referring to the message when the code in kern_shutdown.c in bsd 4.10 is called at the time of boot() system call My understanding is that this message tells us that 1 buffer from the buffer cache

getting mount points in kernel

2005-01-14 Thread Siddharth Aggarwal
Hi all, Is there a system call to get all the mount points? In a user app, I guess I would probably parse the /etc/fstab, but how do I do it in the kernel? TIA, Sid. ___ freebsd-hackers@freebsd.org mailing list

process checkpoint restore facility now in DragonFly BSD

2005-01-12 Thread Siddharth Aggarwal
Hi all, I am responding to a post back in Oct 2003 when the checkpointing feature was announced for DragonFly. I have been doing some research on this, and have seen some projects that use Xen VMM to achieve checkpoints of guest OSes. So I was looking for inputs from people as to what everyone

Re: process checkpoint restore facility now in DragonFly BSD

2005-01-12 Thread Siddharth Aggarwal
a process pipeline can be made to work, but some work would need to be done on pipes. The list goes on. -Kip On Wed, 12 Jan 2005, Siddharth Aggarwal wrote: Hi all, I am responding to a post back in Oct 2003 when the checkpointing feature

write retry on filesystem

2005-01-06 Thread Siddharth Aggarwal
Hi, I have a pseudo disk driver that does a copy on write to a log device. I want to disable further retries to write if the disk space on the log device is full. I have inserted the following code into the strategy routine For this I have set the error code and also set the resid to zero,

flushing disk buffer cache

2004-10-29 Thread Siddharth Aggarwal
Hi, I am writing this pseudo disk driver for disk checkpointing, which intercepts write requests to the disk (ad0s1) and performs a copy on write of the old contents to another partition (ad0s4) before writing out the new contents. So the driver (called shd) is mounted as /dev/shd0a on /

Re: flushing disk buffer cache

2004-10-29 Thread Siddharth Aggarwal
, 29 Oct 2004, Siddharth Aggarwal wrote: Hi, I am writing this pseudo disk driver for disk checkpointing, which intercepts write requests to the disk (ad0s1) and performs a copy on write of the old contents to another partition (ad0s4) before writing out the new contents. So the driver

Re: flushing disk buffer cache

2004-10-29 Thread Siddharth Aggarwal
can't unmount an active filesystem before the snapshot and remount it after. Any suggestions? On Fri, 29 Oct 2004, Don Lewis wrote: On 29 Oct, Siddharth Aggarwal wrote: Another related question ... Is it possible to delay or queue up disk writes until I exit from my function