* [PATCH 2/2] reiserfs: Add mount counting
@ 2007-11-26 22:42 Jeff Mahoney
2007-12-03 19:46 ` Jeff Mahoney
0 siblings, 1 reply; 16+ messages in thread
From: Jeff Mahoney @ 2007-11-26 22:42 UTC (permalink / raw)
To: ReiserFS Mailing List, Edward Shishkin
The following patch adds the fields for tracking mount counts and
last fsck timestamps to the superblock. It also increments the mount
count on every read-write mount.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---
fs/reiserfs/super.c | 6 +++++-
include/linux/reiserfs_fs.h | 6 +++++-
include/linux/reiserfs_fs_sb.h | 3 +++
3 files changed, 13 insertions(+), 2 deletions(-)
--- a/fs/reiserfs/super.c 2007-11-26 17:09:51.000000000 -0500
+++ b/fs/reiserfs/super.c 2007-11-26 17:32:21.000000000 -0500
@@ -1239,6 +1239,8 @@ static int reiserfs_remount(struct super
REISERFS_SB(s)->s_mount_state = sb_umount_state(rs);
s->s_flags &= ~MS_RDONLY;
set_sb_umount_state(rs, REISERFS_ERROR_FS);
+ if (!old_format_only(s))
+ set_sb_mnt_count(rs, sb_mnt_count(rs) + 1);
/* mark_buffer_dirty (SB_BUFFER_WITH_SB (s), 1); */
journal_mark_dirty(&th, s, SB_BUFFER_WITH_SB(s));
REISERFS_SB(s)->s_mount_state = REISERFS_VALID_FS;
@@ -1764,7 +1766,9 @@ static int reiserfs_fill_super(struct su
} else if (!silent) {
reiserfs_info(s, "using 3.5.x disk format\n");
}
- }
+ } else
+ set_sb_mnt_count(rs, sb_mnt_count(rs) + 1);
+
journal_mark_dirty(&th, s, SB_BUFFER_WITH_SB(s));
errval = journal_end(&th, s, 1);
--- a/include/linux/reiserfs_fs.h 2007-11-26 17:09:58.000000000 -0500
+++ b/include/linux/reiserfs_fs.h 2007-11-26 17:22:35.000000000 -0500
@@ -171,7 +171,11 @@ struct reiserfs_super_block {
__le32 s_flags; /* Right now used only by inode-attributes, if enabled */
unsigned char s_uuid[16]; /* filesystem unique identifier */
unsigned char s_label[16]; /* filesystem volume label */
- char s_unused[88]; /* zero filled by mkreiserfs and
+ __le16 s_mnt_count; /* Count of mounts since last fsck */
+ __le16 s_max_mnt_count; /* Maximum mounts before check */
+ __le32 s_lastcheck; /* Timestamp of last fsck */
+ __le32 s_check_interval; /* Interval between checks */
+ char s_unused[76]; /* zero filled by mkreiserfs and
* reiserfs_convert_objectid_map_v1()
* so any additions must be updated
* there as well. */
--- a/include/linux/reiserfs_fs_sb.h 2007-11-26 17:09:58.000000000 -0500
+++ b/include/linux/reiserfs_fs_sb.h 2007-11-26 17:24:54.000000000 -0500
@@ -73,6 +73,9 @@ typedef enum {
#define sb_version(sbp) (le16_to_cpu((sbp)->s_v1.s_version))
#define set_sb_version(sbp,v) ((sbp)->s_v1.s_version = cpu_to_le16(v))
+#define sb_mnt_count(sbp) (le16_to_cpu((sbp)->s_mnt_count))
+#define set_sb_mnt_count(sbp, v) ((sbp)->s_mnt_count = cpu_to_le16(v))
+
#define sb_reserved_for_journal(sbp) \
(le16_to_cpu((sbp)->s_v1.s_reserved_for_journal))
#define set_sb_reserved_for_journal(sbp,v) \
--
Jeff Mahoney
SUSE Labs
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/2] reiserfs: Add mount counting
2007-11-26 22:42 [PATCH 2/2] reiserfs: Add mount counting Jeff Mahoney
@ 2007-12-03 19:46 ` Jeff Mahoney
2007-12-03 20:36 ` Edward Shishkin
0 siblings, 1 reply; 16+ messages in thread
From: Jeff Mahoney @ 2007-12-03 19:46 UTC (permalink / raw)
To: ReiserFS Mailing List, Edward Shishkin
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Any comments on this? I'd like to be able to check this into our kernel
tree, but I can't do so until these fields have been officially reserved.
- -Jeff
Jeff Mahoney wrote:
> The following patch adds the fields for tracking mount counts and
> last fsck timestamps to the superblock. It also increments the mount
> count on every read-write mount.
>
> Signed-off-by: Jeff Mahoney <jeffm@suse.com>
> ---
>
> fs/reiserfs/super.c | 6 +++++-
> include/linux/reiserfs_fs.h | 6 +++++-
> include/linux/reiserfs_fs_sb.h | 3 +++
> 3 files changed, 13 insertions(+), 2 deletions(-)
>
> --- a/fs/reiserfs/super.c 2007-11-26 17:09:51.000000000 -0500
> +++ b/fs/reiserfs/super.c 2007-11-26 17:32:21.000000000 -0500
> @@ -1239,6 +1239,8 @@ static int reiserfs_remount(struct super
> REISERFS_SB(s)->s_mount_state = sb_umount_state(rs);
> s->s_flags &= ~MS_RDONLY;
> set_sb_umount_state(rs, REISERFS_ERROR_FS);
> + if (!old_format_only(s))
> + set_sb_mnt_count(rs, sb_mnt_count(rs) + 1);
> /* mark_buffer_dirty (SB_BUFFER_WITH_SB (s), 1); */
> journal_mark_dirty(&th, s, SB_BUFFER_WITH_SB(s));
> REISERFS_SB(s)->s_mount_state = REISERFS_VALID_FS;
> @@ -1764,7 +1766,9 @@ static int reiserfs_fill_super(struct su
> } else if (!silent) {
> reiserfs_info(s, "using 3.5.x disk format\n");
> }
> - }
> + } else
> + set_sb_mnt_count(rs, sb_mnt_count(rs) + 1);
> +
>
> journal_mark_dirty(&th, s, SB_BUFFER_WITH_SB(s));
> errval = journal_end(&th, s, 1);
> --- a/include/linux/reiserfs_fs.h 2007-11-26 17:09:58.000000000 -0500
> +++ b/include/linux/reiserfs_fs.h 2007-11-26 17:22:35.000000000 -0500
> @@ -171,7 +171,11 @@ struct reiserfs_super_block {
> __le32 s_flags; /* Right now used only by inode-attributes, if enabled */
> unsigned char s_uuid[16]; /* filesystem unique identifier */
> unsigned char s_label[16]; /* filesystem volume label */
> - char s_unused[88]; /* zero filled by mkreiserfs and
> + __le16 s_mnt_count; /* Count of mounts since last fsck */
> + __le16 s_max_mnt_count; /* Maximum mounts before check */
> + __le32 s_lastcheck; /* Timestamp of last fsck */
> + __le32 s_check_interval; /* Interval between checks */
> + char s_unused[76]; /* zero filled by mkreiserfs and
> * reiserfs_convert_objectid_map_v1()
> * so any additions must be updated
> * there as well. */
> --- a/include/linux/reiserfs_fs_sb.h 2007-11-26 17:09:58.000000000 -0500
> +++ b/include/linux/reiserfs_fs_sb.h 2007-11-26 17:24:54.000000000 -0500
> @@ -73,6 +73,9 @@ typedef enum {
> #define sb_version(sbp) (le16_to_cpu((sbp)->s_v1.s_version))
> #define set_sb_version(sbp,v) ((sbp)->s_v1.s_version = cpu_to_le16(v))
>
> +#define sb_mnt_count(sbp) (le16_to_cpu((sbp)->s_mnt_count))
> +#define set_sb_mnt_count(sbp, v) ((sbp)->s_mnt_count = cpu_to_le16(v))
> +
> #define sb_reserved_for_journal(sbp) \
> (le16_to_cpu((sbp)->s_v1.s_reserved_for_journal))
> #define set_sb_reserved_for_journal(sbp,v) \
>
- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFHVF0NLPWxlyuTD7IRApOuAJ4+oIw0W37hkDrUv8GSGNgX9R8itwCbBWOx
FLf7hNIByLk/lkjsLm/4HIY=
=gzSp
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/2] reiserfs: Add mount counting
2007-12-03 19:46 ` Jeff Mahoney
@ 2007-12-03 20:36 ` Edward Shishkin
2007-12-03 20:40 ` Jeff Mahoney
0 siblings, 1 reply; 16+ messages in thread
From: Edward Shishkin @ 2007-12-03 20:36 UTC (permalink / raw)
To: Jeff Mahoney; +Cc: ReiserFS Mailing List, Edward Shishkin
Hi Jeff.
Personally, I don't object.
What does official reservation mean?
I can send a request to Hans, but I guess
we'll receive his "yes" or "no" with substantial delay..
Thanks,
Edward.
On 12/3/07, Jeff Mahoney <jeffm@suse.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Any comments on this? I'd like to be able to check this into our kernel
> tree, but I can't do so until these fields have been officially reserved.
>
> - -Jeff
>
> Jeff Mahoney wrote:
> > The following patch adds the fields for tracking mount counts and
> > last fsck timestamps to the superblock. It also increments the mount
> > count on every read-write mount.
> >
> > Signed-off-by: Jeff Mahoney <jeffm@suse.com>
> > ---
> >
> > fs/reiserfs/super.c | 6 +++++-
> > include/linux/reiserfs_fs.h | 6 +++++-
> > include/linux/reiserfs_fs_sb.h | 3 +++
> > 3 files changed, 13 insertions(+), 2 deletions(-)
> >
> > --- a/fs/reiserfs/super.c 2007-11-26 17:09:51.000000000 -0500
> > +++ b/fs/reiserfs/super.c 2007-11-26 17:32:21.000000000 -0500
> > @@ -1239,6 +1239,8 @@ static int reiserfs_remount(struct super
> > REISERFS_SB(s)->s_mount_state = sb_umount_state(rs);
> > s->s_flags &= ~MS_RDONLY;
> > set_sb_umount_state(rs, REISERFS_ERROR_FS);
> > + if (!old_format_only(s))
> > + set_sb_mnt_count(rs, sb_mnt_count(rs) + 1);
> > /* mark_buffer_dirty (SB_BUFFER_WITH_SB (s), 1); */
> > journal_mark_dirty(&th, s, SB_BUFFER_WITH_SB(s));
> > REISERFS_SB(s)->s_mount_state = REISERFS_VALID_FS;
> > @@ -1764,7 +1766,9 @@ static int reiserfs_fill_super(struct su
> > } else if (!silent) {
> > reiserfs_info(s, "using 3.5.x disk format\n");
> > }
> > - }
> > + } else
> > + set_sb_mnt_count(rs, sb_mnt_count(rs) + 1);
> > +
> >
> > journal_mark_dirty(&th, s, SB_BUFFER_WITH_SB(s));
> > errval = journal_end(&th, s, 1);
> > --- a/include/linux/reiserfs_fs.h 2007-11-26 17:09:58.000000000 -0500
> > +++ b/include/linux/reiserfs_fs.h 2007-11-26 17:22:35.000000000 -0500
> > @@ -171,7 +171,11 @@ struct reiserfs_super_block {
> > __le32 s_flags; /* Right now used only by inode-attributes, if enabled */
> > unsigned char s_uuid[16]; /* filesystem unique identifier */
> > unsigned char s_label[16]; /* filesystem volume label */
> > - char s_unused[88]; /* zero filled by mkreiserfs and
> > + __le16 s_mnt_count; /* Count of mounts since last fsck */
> > + __le16 s_max_mnt_count; /* Maximum mounts before check */
> > + __le32 s_lastcheck; /* Timestamp of last fsck */
> > + __le32 s_check_interval; /* Interval between checks */
> > + char s_unused[76]; /* zero filled by mkreiserfs and
> > * reiserfs_convert_objectid_map_v1()
> > * so any additions must be updated
> > * there as well. */
> > --- a/include/linux/reiserfs_fs_sb.h 2007-11-26 17:09:58.000000000 -0500
> > +++ b/include/linux/reiserfs_fs_sb.h 2007-11-26 17:24:54.000000000 -0500
> > @@ -73,6 +73,9 @@ typedef enum {
> > #define sb_version(sbp) (le16_to_cpu((sbp)->s_v1.s_version))
> > #define set_sb_version(sbp,v) ((sbp)->s_v1.s_version = cpu_to_le16(v))
> >
> > +#define sb_mnt_count(sbp) (le16_to_cpu((sbp)->s_mnt_count))
> > +#define set_sb_mnt_count(sbp, v) ((sbp)->s_mnt_count = cpu_to_le16(v))
> > +
> > #define sb_reserved_for_journal(sbp) \
> > (le16_to_cpu((sbp)->s_v1.s_reserved_for_journal))
> > #define set_sb_reserved_for_journal(sbp,v) \
> >
>
>
> - --
> Jeff Mahoney
> SUSE Labs
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.4-svn0 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
>
> iD8DBQFHVF0NLPWxlyuTD7IRApOuAJ4+oIw0W37hkDrUv8GSGNgX9R8itwCbBWOx
> FLf7hNIByLk/lkjsLm/4HIY=
> =gzSp
> -----END PGP SIGNATURE-----
> -
> To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/2] reiserfs: Add mount counting
2007-12-03 20:36 ` Edward Shishkin
@ 2007-12-03 20:40 ` Jeff Mahoney
2007-12-03 20:51 ` Edward Shishkin
0 siblings, 1 reply; 16+ messages in thread
From: Jeff Mahoney @ 2007-12-03 20:40 UTC (permalink / raw)
To: Edward Shishkin; +Cc: ReiserFS Mailing List, Edward Shishkin
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Edward Shishkin wrote:
> Hi Jeff.
>
> Personally, I don't object.
> What does official reservation mean?
> I can send a request to Hans, but I guess
> we'll receive his "yes" or "no" with substantial delay..
I just mean that those 12 bytes in the superblock are guaranteed not to
be used for something else. Given the pace of reiserfs development, I
don't expect this to be a problem as there are 76 more of them. :)
- -Jeff
- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFHVGm4LPWxlyuTD7IRAlnYAJ96feQvRpbLlOtPoxPbziOb1BgsQQCgnmrI
GC9Hxg0FnQnBAXtOwvri+SE=
=Gfxe
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/2] reiserfs: Add mount counting
2007-12-03 20:40 ` Jeff Mahoney
@ 2007-12-03 20:51 ` Edward Shishkin
2007-12-03 21:32 ` Jeff Mahoney
0 siblings, 1 reply; 16+ messages in thread
From: Edward Shishkin @ 2007-12-03 20:51 UTC (permalink / raw)
To: Jeff Mahoney; +Cc: ReiserFS Mailing List
On 12/3/07, Jeff Mahoney <jeffm@suse.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Edward Shishkin wrote:
> > Hi Jeff.
> >
> > Personally, I don't object.
> > What does official reservation mean?
> > I can send a request to Hans, but I guess
> > we'll receive his "yes" or "no" with substantial delay..
>
> I just mean that those 12 bytes in the superblock are guaranteed not to
> be used for something else. Given the pace of reiserfs development, I
> don't expect this to be a problem as there are 76 more of them. :)
Well, I promise to not use them for something else ;)
It seems we need something like reiserfsprogs-3.6.20?
Edward.
>
> - -Jeff
>
> - --
> Jeff Mahoney
> SUSE Labs
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.4-svn0 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
>
> iD8DBQFHVGm4LPWxlyuTD7IRAlnYAJ96feQvRpbLlOtPoxPbziOb1BgsQQCgnmrI
> GC9Hxg0FnQnBAXtOwvri+SE=
> =Gfxe
> -----END PGP SIGNATURE-----
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/2] reiserfs: Add mount counting
2007-12-03 20:51 ` Edward Shishkin
@ 2007-12-03 21:32 ` Jeff Mahoney
2007-12-03 22:56 ` Edward Shishkin
0 siblings, 1 reply; 16+ messages in thread
From: Jeff Mahoney @ 2007-12-03 21:32 UTC (permalink / raw)
To: Edward Shishkin; +Cc: ReiserFS Mailing List
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Edward Shishkin wrote:
> On 12/3/07, Jeff Mahoney <jeffm@suse.com> wrote:
> Edward Shishkin wrote:
>>>> Hi Jeff.
>>>>
>>>> Personally, I don't object.
>>>> What does official reservation mean?
>>>> I can send a request to Hans, but I guess
>>>> we'll receive his "yes" or "no" with substantial delay..
> I just mean that those 12 bytes in the superblock are guaranteed not to
> be used for something else. Given the pace of reiserfs development, I
> don't expect this to be a problem as there are 76 more of them. :)
>
>> Well, I promise to not use them for something else ;)
Great. That's the assurance I was looking for. :)
>> It seems we need something like reiserfsprogs-3.6.20?
I actually posted a patch against reiserfsprogs-3.6.20 that reserves the
same fields. It also implements the use of those fields. I have an
updated version that treats timestamps in the future as suspect and
forces a check. I'll post the update later today.
If there's interest in releasing a reiserfsprogs 3.6.21, I have some
patches that we've maintaining locally for a while I'd like to submit
for inclusion. Also, I don't think the code base would hurt from a
whitespace removal run. :)
- -Jeff
- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFHVHXkLPWxlyuTD7IRAhM1AJ9vBrHDW3uhRb15HnO6BNpQGOdIiwCfUHyL
aUwybiy8ZfuOwg0lXZ+xEKE=
=DpoT
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/2] reiserfs: Add mount counting
2007-12-03 21:32 ` Jeff Mahoney
@ 2007-12-03 22:56 ` Edward Shishkin
2007-12-03 23:00 ` Jeff Mahoney
0 siblings, 1 reply; 16+ messages in thread
From: Edward Shishkin @ 2007-12-03 22:56 UTC (permalink / raw)
To: Jeff Mahoney; +Cc: ReiserFS Mailing List, Vladimir Saveliev
On 12/4/07, Jeff Mahoney <jeffm@suse.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Edward Shishkin wrote:
> > On 12/3/07, Jeff Mahoney <jeffm@suse.com> wrote:
> > Edward Shishkin wrote:
> >>>> Hi Jeff.
> >>>>
> >>>> Personally, I don't object.
> >>>> What does official reservation mean?
> >>>> I can send a request to Hans, but I guess
> >>>> we'll receive his "yes" or "no" with substantial delay..
> > I just mean that those 12 bytes in the superblock are guaranteed not to
> > be used for something else. Given the pace of reiserfs development, I
> > don't expect this to be a problem as there are 76 more of them. :)
> >
> >> Well, I promise to not use them for something else ;)
>
> Great. That's the assurance I was looking for. :)
>
> >> It seems we need something like reiserfsprogs-3.6.20?
>
> I actually posted a patch against reiserfsprogs-3.6.20 that reserves the
> same fields. It also implements the use of those fields. I have an
> updated version that treats timestamps in the future as suspect and
> forces a check. I'll post the update later today.
Sorry, I am a bit confused..
The latest git version of reiserfsprogs is 3.6.19;
The latest website version is also 3.6.19.
At the same time I can google and see that some distros
use reiserfsprogs-3.6.20.
Suse 10.3 uses "reiserfs utility package" 3.6.19-92
Also I remember that Vladimir worked on some version
of reiserfsprogs not so long ago.
Any ideas about really latest version?
Thanks,
Edward.
>
> If there's interest in releasing a reiserfsprogs 3.6.21, I have some
> patches that we've maintaining locally for a while I'd like to submit
> for inclusion. Also, I don't think the code base would hurt from a
> whitespace removal run. :)
>
> - -Jeff
>
> - --
> Jeff Mahoney
> SUSE Labs
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.4-svn0 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
>
> iD8DBQFHVHXkLPWxlyuTD7IRAhM1AJ9vBrHDW3uhRb15HnO6BNpQGOdIiwCfUHyL
> aUwybiy8ZfuOwg0lXZ+xEKE=
> =DpoT
> -----END PGP SIGNATURE-----
>
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/2] reiserfs: Add mount counting
2007-12-03 22:56 ` Edward Shishkin
@ 2007-12-03 23:00 ` Jeff Mahoney
2007-12-05 12:22 ` Ric Wheeler
2008-01-24 19:52 ` Jeff Mahoney
0 siblings, 2 replies; 16+ messages in thread
From: Jeff Mahoney @ 2007-12-03 23:00 UTC (permalink / raw)
To: Edward Shishkin; +Cc: ReiserFS Mailing List, Vladimir Saveliev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Edward Shishkin wrote:
> On 12/4/07, Jeff Mahoney <jeffm@suse.com> wrote:
> Edward Shishkin wrote:
>>>> On 12/3/07, Jeff Mahoney <jeffm@suse.com> wrote:
>>>> Edward Shishkin wrote:
>>>>>>> Hi Jeff.
>>>>>>>
>>>>>>> Personally, I don't object.
>>>>>>> What does official reservation mean?
>>>>>>> I can send a request to Hans, but I guess
>>>>>>> we'll receive his "yes" or "no" with substantial delay..
>>>> I just mean that those 12 bytes in the superblock are guaranteed not to
>>>> be used for something else. Given the pace of reiserfs development, I
>>>> don't expect this to be a problem as there are 76 more of them. :)
>>>>
>>>>> Well, I promise to not use them for something else ;)
> Great. That's the assurance I was looking for. :)
>
>>>>> It seems we need something like reiserfsprogs-3.6.20?
> I actually posted a patch against reiserfsprogs-3.6.20 that reserves the
> same fields. It also implements the use of those fields. I have an
> updated version that treats timestamps in the future as suspect and
> forces a check. I'll post the update later today.
>
>> Sorry, I am a bit confused..
>> The latest git version of reiserfsprogs is 3.6.19;
>> The latest website version is also 3.6.19.
>> At the same time I can google and see that some distros
>> use reiserfsprogs-3.6.20.
>> Suse 10.3 uses "reiserfs utility package" 3.6.19-92
>> Also I remember that Vladimir worked on some version
>> of reiserfsprogs not so long ago.
>
>> Any ideas about really latest version?
I think Vladimir must have released what he was working on as 3.6.20.
That's the latest version I downloaded from ftp.namesys.com.
It reorganizes the code into a saner structure as well as cleans up the
code quite a bit. It also adds the > 8 TB support that I ended up
grafting onto 3.6.19 for our release.
- -Jeff
- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFHVIqPLPWxlyuTD7IRAlHNAJ90Czg1ZIcwodr0JBZuZ48oXdB1PQCePiwN
i2hQJPXkmUU2P+ZPbSkecRk=
=CXkg
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/2] reiserfs: Add mount counting
2007-12-03 23:00 ` Jeff Mahoney
@ 2007-12-05 12:22 ` Ric Wheeler
2007-12-05 13:01 ` Vladimir Saveliev
2008-01-24 19:52 ` Jeff Mahoney
1 sibling, 1 reply; 16+ messages in thread
From: Ric Wheeler @ 2007-12-05 12:22 UTC (permalink / raw)
To: Jeff Mahoney, Vladimir Saveliev; +Cc: Edward Shishkin, ReiserFS Mailing List
Jeff Mahoney wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Edward Shishkin wrote:
>> On 12/4/07, Jeff Mahoney <jeffm@suse.com> wrote:
>> Edward Shishkin wrote:
>>>>> On 12/3/07, Jeff Mahoney <jeffm@suse.com> wrote:
>>>>> Edward Shishkin wrote:
>>>>>>>> Hi Jeff.
>>>>>>>>
>>>>>>>> Personally, I don't object.
>>>>>>>> What does official reservation mean?
>>>>>>>> I can send a request to Hans, but I guess
>>>>>>>> we'll receive his "yes" or "no" with substantial delay..
>>>>> I just mean that those 12 bytes in the superblock are guaranteed not to
>>>>> be used for something else. Given the pace of reiserfs development, I
>>>>> don't expect this to be a problem as there are 76 more of them. :)
>>>>>
>>>>>> Well, I promise to not use them for something else ;)
>> Great. That's the assurance I was looking for. :)
>>
>>>>>> It seems we need something like reiserfsprogs-3.6.20?
>> I actually posted a patch against reiserfsprogs-3.6.20 that reserves the
>> same fields. It also implements the use of those fields. I have an
>> updated version that treats timestamps in the future as suspect and
>> forces a check. I'll post the update later today.
>>
>>> Sorry, I am a bit confused..
>>> The latest git version of reiserfsprogs is 3.6.19;
>>> The latest website version is also 3.6.19.
>>> At the same time I can google and see that some distros
>>> use reiserfsprogs-3.6.20.
>>> Suse 10.3 uses "reiserfs utility package" 3.6.19-92
>>> Also I remember that Vladimir worked on some version
>>> of reiserfsprogs not so long ago.
>>> Any ideas about really latest version?
>
> I think Vladimir must have released what he was working on as 3.6.20.
> That's the latest version I downloaded from ftp.namesys.com.
>
> It reorganizes the code into a saner structure as well as cleans up the
> code quite a bit. It also adds the > 8 TB support that I ended up
> grafting onto 3.6.19 for our release.
>
> - -Jeff
>
We have also been working with & testing a draft of Vladimir's updated
code (not sure how different it is from what you took in).
Vladimir, did Jeff's drop include all of the changes or part of what you
did with us?
We can certainly update or refresh our copy for the next phase of qa,
thanks!
ric
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/2] reiserfs: Add mount counting
2007-12-05 12:22 ` Ric Wheeler
@ 2007-12-05 13:01 ` Vladimir Saveliev
2007-12-05 15:32 ` Jeff Mahoney
0 siblings, 1 reply; 16+ messages in thread
From: Vladimir Saveliev @ 2007-12-05 13:01 UTC (permalink / raw)
To: Ric Wheeler; +Cc: Jeff Mahoney, Edward Shishkin, ReiserFS Mailing List
Hello
Ric Wheeler wrote:
> Jeff Mahoney wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Edward Shishkin wrote:
>>> On 12/4/07, Jeff Mahoney <jeffm@suse.com> wrote:
>>> Edward Shishkin wrote:
>>>>>> On 12/3/07, Jeff Mahoney <jeffm@suse.com> wrote:
>>>>>> Edward Shishkin wrote:
>>>>>>>>> Hi Jeff.
>>>>>>>>>
>>>>>>>>> Personally, I don't object.
>>>>>>>>> What does official reservation mean?
>>>>>>>>> I can send a request to Hans, but I guess
>>>>>>>>> we'll receive his "yes" or "no" with substantial delay..
>>>>>> I just mean that those 12 bytes in the superblock are guaranteed
>>>>>> not to
>>>>>> be used for something else. Given the pace of reiserfs development, I
>>>>>> don't expect this to be a problem as there are 76 more of them. :)
>>>>>>
>>>>>>> Well, I promise to not use them for something else ;)
>>> Great. That's the assurance I was looking for. :)
>>>
>>>>>>> It seems we need something like reiserfsprogs-3.6.20?
>>> I actually posted a patch against reiserfsprogs-3.6.20 that reserves the
>>> same fields. It also implements the use of those fields. I have an
>>> updated version that treats timestamps in the future as suspect and
>>> forces a check. I'll post the update later today.
>>>
>>>> Sorry, I am a bit confused..
>>>> The latest git version of reiserfsprogs is 3.6.19;
>>>> The latest website version is also 3.6.19.
>>>> At the same time I can google and see that some distros
>>>> use reiserfsprogs-3.6.20.
>>>> Suse 10.3 uses "reiserfs utility package" 3.6.19-92
>>>> Also I remember that Vladimir worked on some version
>>>> of reiserfsprogs not so long ago.
>>>> Any ideas about really latest version?
>>
>> I think Vladimir must have released what he was working on as 3.6.20.
>> That's the latest version I downloaded from ftp.namesys.com.
>>
>> It reorganizes the code into a saner structure as well as cleans up the
>> code quite a bit. It also adds the > 8 TB support that I ended up
>> grafting onto 3.6.19 for our release.
>>
>> - -Jeff
>>
>
> We have also been working with & testing a draft of Vladimir's updated
> code (not sure how different it is from what you took in).
>
> Vladimir, did Jeff's drop include all of the changes or part of what you
> did with us?
>
No, I do not think so. I forked that work from 3.6.19 and did not put it
anywhere but ftp.namesys.com/pub/tmp
Best regards,
Vladimir
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/2] reiserfs: Add mount counting
2007-12-05 13:01 ` Vladimir Saveliev
@ 2007-12-05 15:32 ` Jeff Mahoney
2007-12-05 15:39 ` Ric Wheeler
2007-12-05 17:53 ` Vladimir Saveliev
0 siblings, 2 replies; 16+ messages in thread
From: Jeff Mahoney @ 2007-12-05 15:32 UTC (permalink / raw)
To: Vladimir Saveliev; +Cc: Ric Wheeler, Edward Shishkin, ReiserFS Mailing List
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Vladimir Saveliev wrote:
> Hello
>
> Ric Wheeler wrote:
>> Jeff Mahoney wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Edward Shishkin wrote:
>>>> On 12/4/07, Jeff Mahoney <jeffm@suse.com> wrote:
>>>> Edward Shishkin wrote:
>>>>>>> On 12/3/07, Jeff Mahoney <jeffm@suse.com> wrote:
>>>>>>> Edward Shishkin wrote:
>>>>>>>>>> Hi Jeff.
>>>>>>>>>>
>>>>>>>>>> Personally, I don't object.
>>>>>>>>>> What does official reservation mean?
>>>>>>>>>> I can send a request to Hans, but I guess
>>>>>>>>>> we'll receive his "yes" or "no" with substantial delay..
>>>>>>> I just mean that those 12 bytes in the superblock are guaranteed
>>>>>>> not to
>>>>>>> be used for something else. Given the pace of reiserfs development, I
>>>>>>> don't expect this to be a problem as there are 76 more of them. :)
>>>>>>>
>>>>>>>> Well, I promise to not use them for something else ;)
>>>> Great. That's the assurance I was looking for. :)
>>>>
>>>>>>>> It seems we need something like reiserfsprogs-3.6.20?
>>>> I actually posted a patch against reiserfsprogs-3.6.20 that reserves the
>>>> same fields. It also implements the use of those fields. I have an
>>>> updated version that treats timestamps in the future as suspect and
>>>> forces a check. I'll post the update later today.
>>>>
>>>>> Sorry, I am a bit confused..
>>>>> The latest git version of reiserfsprogs is 3.6.19;
>>>>> The latest website version is also 3.6.19.
>>>>> At the same time I can google and see that some distros
>>>>> use reiserfsprogs-3.6.20.
>>>>> Suse 10.3 uses "reiserfs utility package" 3.6.19-92
>>>>> Also I remember that Vladimir worked on some version
>>>>> of reiserfsprogs not so long ago.
>>>>> Any ideas about really latest version?
>>> I think Vladimir must have released what he was working on as 3.6.20.
>>> That's the latest version I downloaded from ftp.namesys.com.
>>>
>>> It reorganizes the code into a saner structure as well as cleans up the
>>> code quite a bit. It also adds the > 8 TB support that I ended up
>>> grafting onto 3.6.19 for our release.
>>>
>>> - -Jeff
>>>
>> We have also been working with & testing a draft of Vladimir's updated
>> code (not sure how different it is from what you took in).
>>
>> Vladimir, did Jeff's drop include all of the changes or part of what you
>> did with us?
>>
>
> No, I do not think so. I forked that work from 3.6.19 and did not put it
> anywhere but ftp.namesys.com/pub/tmp
That's strange. Someone else must've moved it to /pub/reiserfsprogs/
then. That's certainly where I got a copy of it. A google for
reiserfsprogs 3.6.20, shows several pointers to
ftp://ftp.namesys.com/pub/reiserfsprogs/reiserfsprogs-3.6.20.tar.gz too.
- -Jeff
- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFHVsSMLPWxlyuTD7IRAhEAAJ9KrNbKYs9Raio2lEuwpt4Ftpz8uQCbB7wl
VHhSmxmQNRlwLC5ws6gs3sA=
=rpx2
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/2] reiserfs: Add mount counting
2007-12-05 15:32 ` Jeff Mahoney
@ 2007-12-05 15:39 ` Ric Wheeler
2007-12-05 15:52 ` Jeff Mahoney
2007-12-05 17:53 ` Vladimir Saveliev
1 sibling, 1 reply; 16+ messages in thread
From: Ric Wheeler @ 2007-12-05 15:39 UTC (permalink / raw)
To: Jeff Mahoney; +Cc: Vladimir Saveliev, Edward Shishkin, ReiserFS Mailing List
Jeff Mahoney wrote:
....
<snip>
....
>>>
>> No, I do not think so. I forked that work from 3.6.19 and did not put it
>> anywhere but ftp.namesys.com/pub/tmp
>
> That's strange. Someone else must've moved it to /pub/reiserfsprogs/
> then. That's certainly where I got a copy of it. A google for
> reiserfsprogs 3.6.20, shows several pointers to
> ftp://ftp.namesys.com/pub/reiserfsprogs/reiserfsprogs-3.6.20.tar.gz too.
>
> - -Jeff
> - --
It would be great to get that work out for broader review & testing if that is
not what you picked up...
ric
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/2] reiserfs: Add mount counting
2007-12-05 15:39 ` Ric Wheeler
@ 2007-12-05 15:52 ` Jeff Mahoney
0 siblings, 0 replies; 16+ messages in thread
From: Jeff Mahoney @ 2007-12-05 15:52 UTC (permalink / raw)
To: ric; +Cc: Vladimir Saveliev, Edward Shishkin, ReiserFS Mailing List
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ric Wheeler wrote:
>
>
> Jeff Mahoney wrote:
> ....
> <snip>
> ....
>>>>
>>> No, I do not think so. I forked that work from 3.6.19 and did not put it
>>> anywhere but ftp.namesys.com/pub/tmp
>>
>> That's strange. Someone else must've moved it to /pub/reiserfsprogs/
>> then. That's certainly where I got a copy of it. A google for
>> reiserfsprogs 3.6.20, shows several pointers to
>> ftp://ftp.namesys.com/pub/reiserfsprogs/reiserfsprogs-3.6.20.tar.gz too.
>>
>> - -Jeff
>> - --
>
> It would be great to get that work out for broader review & testing if
> that is not what you picked up...
The testing part we'll get automatically. It's checked into our internal
testing distribution at SUSE, which eventually gets mirrored out as
OpenSUSE Factory.
- -Jeff
- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFHVslLLPWxlyuTD7IRAkvCAJ9WeQegQCl9JhJWr47eu6U7yYCt0wCeOKk6
S5rzZUEP4oRXAMkYdUlD8j4=
=3jac
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/2] reiserfs: Add mount counting
2007-12-05 15:32 ` Jeff Mahoney
2007-12-05 15:39 ` Ric Wheeler
@ 2007-12-05 17:53 ` Vladimir Saveliev
2007-12-05 18:18 ` Ric Wheeler
1 sibling, 1 reply; 16+ messages in thread
From: Vladimir Saveliev @ 2007-12-05 17:53 UTC (permalink / raw)
To: Jeff Mahoney; +Cc: Ric Wheeler, Edward Shishkin, ReiserFS Mailing List
Hello
Jeff Mahoney wrote:
>
> That's strange.
No, 3.6.20 was made by Vitaly, it mostly contains massive cleanups and
an --rebuild-tree optimization for specific filesystem corruption which
made reiserfsck to work extremely slow.
The work I did for EMC was about improving of overal reiserfsck
performance. I have local cvs repository for that work and put code
snapshots at ftp://ftp.namesys.com/pub/tmp. So, that work is not
included into 3.6.20.
I am sorry that things got messed up that much, please let me know if I
can help to work out something reasonable.
> Someone else must've moved it to /pub/reiserfsprogs/
> then. That's certainly where I got a copy of it. A google for
> reiserfsprogs 3.6.20, shows several pointers to
> ftp://ftp.namesys.com/pub/reiserfsprogs/reiserfsprogs-3.6.20.tar.gz too.
>
Best regards,
Vladimir
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/2] reiserfs: Add mount counting
2007-12-05 17:53 ` Vladimir Saveliev
@ 2007-12-05 18:18 ` Ric Wheeler
0 siblings, 0 replies; 16+ messages in thread
From: Ric Wheeler @ 2007-12-05 18:18 UTC (permalink / raw)
To: Vladimir Saveliev; +Cc: Jeff Mahoney, Edward Shishkin, ReiserFS Mailing List
Vladimir Saveliev wrote:
> Hello
>
> Jeff Mahoney wrote:
>
>> That's strange.
>
> No, 3.6.20 was made by Vitaly, it mostly contains massive cleanups and
> an --rebuild-tree optimization for specific filesystem corruption which
> made reiserfsck to work extremely slow.
>
> The work I did for EMC was about improving of overal reiserfsck
> performance. I have local cvs repository for that work and put code
> snapshots at ftp://ftp.namesys.com/pub/tmp. So, that work is not
> included into 3.6.20.
>
> I am sorry that things got messed up that much, please let me know if I
> can help to work out something reasonable.
>
>> Someone else must've moved it to /pub/reiserfsprogs/
>> then. That's certainly where I got a copy of it. A google for
>> reiserfsprogs 3.6.20, shows several pointers to
>> ftp://ftp.namesys.com/pub/reiserfsprogs/reiserfsprogs-3.6.20.tar.gz too.
>>
>
> Best regards,
> Vladimir
And of course, we will be happy to try and help with the testing/error
injection, etc...
It is good work and well worth getting rolled back into the changes,
ric
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [PATCH 2/2] reiserfs: Add mount counting
2007-12-03 23:00 ` Jeff Mahoney
2007-12-05 12:22 ` Ric Wheeler
@ 2008-01-24 19:52 ` Jeff Mahoney
1 sibling, 0 replies; 16+ messages in thread
From: Jeff Mahoney @ 2008-01-24 19:52 UTC (permalink / raw)
To: Edward Shishkin; +Cc: ReiserFS Mailing List, Vladimir Saveliev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jeff Mahoney wrote:
> Edward Shishkin wrote:
>> On 12/4/07, Jeff Mahoney <jeffm@suse.com> wrote:
>> Edward Shishkin wrote:
>>>>> On 12/3/07, Jeff Mahoney <jeffm@suse.com> wrote:
>>>>> Edward Shishkin wrote:
>>>>>>>> Hi Jeff.
>>>>>>>>
>>>>>>>> Personally, I don't object.
>>>>>>>> What does official reservation mean?
>>>>>>>> I can send a request to Hans, but I guess
>>>>>>>> we'll receive his "yes" or "no" with substantial delay..
>>>>> I just mean that those 12 bytes in the superblock are guaranteed not to
>>>>> be used for something else. Given the pace of reiserfs development, I
>>>>> don't expect this to be a problem as there are 76 more of them. :)
>>>>>
>>>>>> Well, I promise to not use them for something else ;)
>> Great. That's the assurance I was looking for. :)
>
>>>>>> It seems we need something like reiserfsprogs-3.6.20?
>> I actually posted a patch against reiserfsprogs-3.6.20 that reserves the
>> same fields. It also implements the use of those fields. I have an
>> updated version that treats timestamps in the future as suspect and
>> forces a check. I'll post the update later today.
>
>>> Sorry, I am a bit confused..
>>> The latest git version of reiserfsprogs is 3.6.19;
>>> The latest website version is also 3.6.19.
>>> At the same time I can google and see that some distros
>>> use reiserfsprogs-3.6.20.
>>> Suse 10.3 uses "reiserfs utility package" 3.6.19-92
>>> Also I remember that Vladimir worked on some version
>>> of reiserfsprogs not so long ago.
>>> Any ideas about really latest version?
>
> I think Vladimir must have released what he was working on as 3.6.20.
> That's the latest version I downloaded from ftp.namesys.com.
>
> It reorganizes the code into a saner structure as well as cleans up the
> code quite a bit. It also adds the > 8 TB support that I ended up
> grafting onto 3.6.19 for our release.
Just to follow up here, the 3.6.20 release must've been a work in
progress. It's totally hosed on big endian machines.
I'll repost those patches against 3.6.19, since I just had to backport
them anyway.
- -Jeff
- --
Jeff Mahoney
SUSE Labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFHmOxsLPWxlyuTD7IRAt2/AKCFoobXXBjiyc50o46Lgp+iHMh7yQCfUwDM
Ex6LTc+gkotgu4NfTfmtDj0=
=U8tD
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2008-01-24 19:52 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-26 22:42 [PATCH 2/2] reiserfs: Add mount counting Jeff Mahoney
2007-12-03 19:46 ` Jeff Mahoney
2007-12-03 20:36 ` Edward Shishkin
2007-12-03 20:40 ` Jeff Mahoney
2007-12-03 20:51 ` Edward Shishkin
2007-12-03 21:32 ` Jeff Mahoney
2007-12-03 22:56 ` Edward Shishkin
2007-12-03 23:00 ` Jeff Mahoney
2007-12-05 12:22 ` Ric Wheeler
2007-12-05 13:01 ` Vladimir Saveliev
2007-12-05 15:32 ` Jeff Mahoney
2007-12-05 15:39 ` Ric Wheeler
2007-12-05 15:52 ` Jeff Mahoney
2007-12-05 17:53 ` Vladimir Saveliev
2007-12-05 18:18 ` Ric Wheeler
2008-01-24 19:52 ` Jeff Mahoney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).