DragonFly BSD
DragonFly kernel List (threaded) for 2012-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [GSoC] inotify and fs indexing service status


From: Vishesh Yadav <vishesh3y@xxxxxxxxx>
Date: Mon, 30 Jul 2012 21:01:48 +0530

--f46d0401696393fbe404c60dc229
Content-Type: text/plain; charset=ISO-8859-1

Hello,

This week I worked on idr library and it now seems ready to work and is
Linux compatible (except idr_pre_get() which takes one less argument than
and the return codes.).

Vishesh

On Mon, Jul 23, 2012 at 2:50 PM, Vishesh Yadav <vishesh3y@gmail.com> wrote:

> Hello,
>
> This week I worked on finding and fixing few pending issues, and worked
> on IN_MOVED_TO/IN_MOVED_FROM flags. I'm currertly working on binding
> these two together using cookie parament in inotify_event which I'm
> hoping should be completed by today or tomorrow.
>
> Vishesh
>
> On Mon, Jul 16, 2012 at 08:32:00AM +0530, Vishesh Yadav wrote:
> > Date: Mon, 16 Jul 2012 08:32:00 +0530
> > From: Vishesh Yadav <vishesh3y@gmail.com>
> > To: kernel@crater.dragonflybsd.org
> > Subject: Re: [GSoC] inotify and fs indexing service status
> >
> > Hello,
> >
> > This week I completed work on IN_CREATE and did some testing on inotify
> > and found few bugs. IN_CREATE created some new bugs too on which I'm
> > currently working on.
> >
> > Vishesh
> >
> > On 07/08/2012 09:41 PM, Vishesh Yadav wrote:
> > > Hello,
> > >
> > > This week I worked on NOTE_CREATE and IN_MOVED_* flags. These flags
> > > required some workaround as their behavior required a little more
> > > information than what is offered by kevent. There were few more
> problems
> > > with this including the merging of events in kqueue for which I'm
> trying to
> > > find a viable solution.
> > >
> > > Vishesh
> > >
> > > On Tue, Jul 3, 2012 at 12:10 PM, Vishesh Yadav <vishesh3y@gmail.com>
> wrote:
> > >
> > >> Hello,
> > >>
> > >> I wasn't able to put much work on code last week. Did some work on man
> > >> pages.
> > >>
> > >> Vishesh
> > >>
> > >>
> > >> On Tue, Jun 26, 2012 at 10:13 AM, Vishesh Yadav <vishesh3y@gmail.com
> >wrote:
> > >>
> > >>> Hello,
> > >>>
> > >>> In fifth week I implement idr - integer management library using
> code of
> > >>> file descriptor allocators in kern_descrip.c. Worked to use the new
> library
> > >>> to be used with filedesc, however something or other didn't work
> out. Will
> > >>> be trying that again after looking at code more properly. Rest tested
> > >>> existing work done till now which seems to work quite fine. There are
> > >>> mainly two events left to handle IN_MOVED_TO and IN_MOVED_FROM,
> which I'm
> > >>> being able to detect however have to synchronise them both using
> cookie
> > >>> argument.
> > >>>
> > >>> Vishesh
> > >>>
> > >>>
> > >>> On Mon, Jun 18, 2012 at 2:54 AM, Vishesh Yadav <vishesh3y@gmail.com
> >wrote:
> > >>>
> > >>>> Hello,
> > >>>>
> > >>>> This week's status -
> > >>>>
> > >>>> * Added following notes for EVFILT_VNODE - NOTE_OPEN, NOTE_ACCESS,
> > >>>> NOTE_CLOSE_WRITE, NOTE_CLOSE_NOWRITE, NOTE_CREATE. They work with
> Hammer
> > >>>> and UFS.
> > >>>>
> > >>>> * Implemented inotify_read() and have the most important masks
> working.
> > >>>> Hence now we have a working inotify system.
> > >>>>
> > >>>> Vishesh
> > >>>>
> > >>>> On 06/10/2012 11:42 PM, Vishesh Yadav wrote:
> > >>>>> Hello,
> > >>>>>
> > >>>>> Not much new code this week. Improved and tested existing code,
> exposed
> > >>>>> watch/instance limits through sysctl and made the system respect
> the
> > >>>> limits.
> > >>>>>
> > >>>>> Rest studied kernel kqueue interface and its usage to be used in
> > >>>>> inotify_read. Planned to add few knotes like NOTE_ACCESS,
> NOTE_CLOSE
> > >>>> and
> > >>>>> linux like idr integer management that can be used in fdalloc and
> watch
> > >>>>> descriptors.
> > >>>>>
> > >>>>> Regards,
> > >>>>> Vishesh
> > >>>>>
> > >>>>> On 06/03/2012 10:14 PM, Vishesh Yadav wrote:
> > >>>>>> Hello,
> > >>>>>>
> > >>>>>> This week I finished watch management functions. Now watches can
> be
> > >>>> added,
> > >>>>>> removed from into the inotify_instance. Hence inotify_add_watch,
> > >>>>>> inotify_rm_watch are now almost complete. Just have to check error
> > >>>> codes
> > >>>>>> that are being returned. I also implemented fo_close for inotify
> > >>>> fileops
> > >>>>>> which cleans up the instance well now.
> > >>>>>>
> > >>>>>> Regards,
> > >>>>>> Vishesh
> > >>>>>>
> > >>>>>> On Sat, May 26, 2012 at 7:07 PM, Vishesh Yadav <
> vishesh3y@gmail.com>
> > >>>> wrote:
> > >>>>>>
> > >>>>>>> Hello everyone,
> > >>>>>>>
> > >>>>>>> Current status for first week -
> > >>>>>>>
> > >>>>>>> - Repository and wiki setup at Github[1]
> > >>>>>>> - Made the basic skeleton for inotify interface - system calls,
> > >>>> helper
> > >>>>>>> functions, structures, headers and few basic stuff in there.
> > >>>>>>> - Currently working on management of watches (will be using
> separate
> > >>>>>>> file tables for watches). Once this is done, can write some
> working
> > >>>> code.
> > >>>>>>>
> > >>>>>>> In community bonding period, I setup my working environment,
> browse
> > >>>> and
> > >>>>>>> understood relevant kernel codebase and studied Linux early and
> > >>>> recent
> > >>>>>>> inotify implementation.
> > >>>>>>>
> > >>>>>>> Now that exams are almost over, I hope I can catch up some pace
> now.
> > >>>>>>>
> > >>>>>>> Regards,
> > >>>>>>> Vishesh
> > >>>>>>>
> > >>>>>>> [1] https://github.com/vishesh/DragonFlyBSD/
> > >>>>>>>
> > >>>>>>
> > >>>>>
> > >>>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>
> > >>
> > >
> >
> >
>
> --
>         -Vishesh
>

--f46d0401696393fbe404c60dc229
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello,<br><br>This week I worked on idr library and it now seems ready to w=
ork and is Linux compatible (except idr_pre_get() which takes one less argu=
ment than and the return codes.).<br><br>Vishesh<br><br><div class=3D"gmail=
_quote">
On Mon, Jul 23, 2012 at 2:50 PM, Vishesh Yadav <span dir=3D"ltr">&lt;<a hre=
f=3D"mailto:vishesh3y@gmail.com"; target=3D"_blank">vishesh3y@gmail.com</a>&=
gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 =
0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<div class=3D"im HOEnZb"><br>
This week I worked on finding and fixing few pending issues, and worked<br>
on IN_MOVED_TO/IN_MOVED_FROM flags. I&#39;m currertly working on binding<br=
>
these two together using cookie parament in inotify_event which I&#39;m<br>
hoping should be completed by today or tomorrow.<br>
<br>
Vishesh<br>
<br>
On Mon, Jul 16, 2012 at 08:32:00AM +0530, Vishesh Yadav wrote:<br>
&gt; Date: Mon, 16 Jul 2012 08:32:00 +0530<br>
&gt; From: Vishesh Yadav &lt;<a href=3D"mailto:vishesh3y@gmail.com";>vishesh=
3y@gmail.com</a>&gt;<br>
&gt; To: <a href=3D"mailto:kernel@crater.dragonflybsd.org";>kernel@crater.dr=
agonflybsd.org</a><br>
&gt; Subject: Re: [GSoC] inotify and fs indexing service status<br>
&gt;<br>
</div><div class=3D"HOEnZb"><div class=3D"h5">&gt; Hello,<br>
&gt;<br>
&gt; This week I completed work on IN_CREATE and did some testing on inotif=
y<br>
&gt; and found few bugs. IN_CREATE created some new bugs too on which I&#39=
;m<br>
&gt; currently working on.<br>
&gt;<br>
&gt; Vishesh<br>
&gt;<br>
&gt; On 07/08/2012 09:41 PM, Vishesh Yadav wrote:<br>
&gt; &gt; Hello,<br>
&gt; &gt;<br>
&gt; &gt; This week I worked on NOTE_CREATE and IN_MOVED_* flags. These fla=
gs<br>
&gt; &gt; required some workaround as their behavior required a little more=
<br>
&gt; &gt; information than what is offered by kevent. There were few more p=
roblems<br>
&gt; &gt; with this including the merging of events in kqueue for which I&#=
39;m trying to<br>
&gt; &gt; find a viable solution.<br>
&gt; &gt;<br>
&gt; &gt; Vishesh<br>
&gt; &gt;<br>
&gt; &gt; On Tue, Jul 3, 2012 at 12:10 PM, Vishesh Yadav &lt;<a href=3D"mai=
lto:vishesh3y@gmail.com">vishesh3y@gmail.com</a>&gt; wrote:<br>
&gt; &gt;<br>
&gt; &gt;&gt; Hello,<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; I wasn&#39;t able to put much work on code last week. Did som=
e work on man<br>
&gt; &gt;&gt; pages.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Vishesh<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; On Tue, Jun 26, 2012 at 10:13 AM, Vishesh Yadav &lt;<a href=
=3D"mailto:vishesh3y@gmail.com";>vishesh3y@gmail.com</a>&gt;wrote:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;&gt; Hello,<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; In fifth week I implement idr - integer management librar=
y using code of<br>
&gt; &gt;&gt;&gt; file descriptor allocators in kern_descrip.c. Worked to u=
se the new library<br>
&gt; &gt;&gt;&gt; to be used with filedesc, however something or other didn=
&#39;t work out. Will<br>
&gt; &gt;&gt;&gt; be trying that again after looking at code more properly.=
 Rest tested<br>
&gt; &gt;&gt;&gt; existing work done till now which seems to work quite fin=
e. There are<br>
&gt; &gt;&gt;&gt; mainly two events left to handle IN_MOVED_TO and IN_MOVED=
_FROM, which I&#39;m<br>
&gt; &gt;&gt;&gt; being able to detect however have to synchronise them bot=
h using cookie<br>
&gt; &gt;&gt;&gt; argument.<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; Vishesh<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; On Mon, Jun 18, 2012 at 2:54 AM, Vishesh Yadav &lt;<a hre=
f=3D"mailto:vishesh3y@gmail.com";>vishesh3y@gmail.com</a>&gt;wrote:<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; Hello,<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; This week&#39;s status -<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; * Added following notes for EVFILT_VNODE - NOTE_OPEN,=
 NOTE_ACCESS,<br>
&gt; &gt;&gt;&gt;&gt; NOTE_CLOSE_WRITE, NOTE_CLOSE_NOWRITE, NOTE_CREATE. Th=
ey work with Hammer<br>
&gt; &gt;&gt;&gt;&gt; and UFS.<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; * Implemented inotify_read() and have the most import=
ant masks working.<br>
&gt; &gt;&gt;&gt;&gt; Hence now we have a working inotify system.<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; Vishesh<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt; On 06/10/2012 11:42 PM, Vishesh Yadav wrote:<br>
&gt; &gt;&gt;&gt;&gt;&gt; Hello,<br>
&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt; Not much new code this week. Improved and tested =
existing code, exposed<br>
&gt; &gt;&gt;&gt;&gt;&gt; watch/instance limits through sysctl and made the=
 system respect the<br>
&gt; &gt;&gt;&gt;&gt; limits.<br>
&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt; Rest studied kernel kqueue interface and its usag=
e to be used in<br>
&gt; &gt;&gt;&gt;&gt;&gt; inotify_read. Planned to add few knotes like NOTE=
_ACCESS, NOTE_CLOSE<br>
&gt; &gt;&gt;&gt;&gt; and<br>
&gt; &gt;&gt;&gt;&gt;&gt; linux like idr integer management that can be use=
d in fdalloc and watch<br>
&gt; &gt;&gt;&gt;&gt;&gt; descriptors.<br>
&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt; Regards,<br>
&gt; &gt;&gt;&gt;&gt;&gt; Vishesh<br>
&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt; On 06/03/2012 10:14 PM, Vishesh Yadav wrote:<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; Hello,<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; This week I finished watch management functio=
ns. Now watches can be<br>
&gt; &gt;&gt;&gt;&gt; added,<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; removed from into the inotify_instance. Hence=
 inotify_add_watch,<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; inotify_rm_watch are now almost complete. Jus=
t have to check error<br>
&gt; &gt;&gt;&gt;&gt; codes<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; that are being returned. I also implemented f=
o_close for inotify<br>
&gt; &gt;&gt;&gt;&gt; fileops<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; which cleans up the instance well now.<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; Regards,<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; Vishesh<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt; On Sat, May 26, 2012 at 7:07 PM, Vishesh Yada=
v &lt;<a href=3D"mailto:vishesh3y@gmail.com";>vishesh3y@gmail.com</a>&gt;<br=
>
&gt; &gt;&gt;&gt;&gt; wrote:<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Hello everyone,<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Current status for first week -<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; - Repository and wiki setup at Github[1]<=
br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; - Made the basic skeleton for inotify int=
erface - system calls,<br>
&gt; &gt;&gt;&gt;&gt; helper<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; functions, structures, headers and few ba=
sic stuff in there.<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; - Currently working on management of watc=
hes (will be using separate<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; file tables for watches). Once this is do=
ne, can write some working<br>
&gt; &gt;&gt;&gt;&gt; code.<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; In community bonding period, I setup my w=
orking environment, browse<br>
&gt; &gt;&gt;&gt;&gt; and<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; understood relevant kernel codebase and s=
tudied Linux early and<br>
&gt; &gt;&gt;&gt;&gt; recent<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; inotify implementation.<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Now that exams are almost over, I hope I =
can catch up some pace now.<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Regards,<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; Vishesh<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt; [1] <a href=3D"https://github.com/vishesh=
/DragonFlyBSD/" target=3D"_blank">https://github.com/vishesh/DragonFlyBSD/<=
/a><br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
<br>
</div></div><span class=3D"HOEnZb"><font color=3D"#888888">--<br>
=A0 =A0 =A0 =A0 -Vishesh<br>
</font></span></blockquote></div><br>

--f46d0401696393fbe404c60dc229--



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]