All of lore.kernel.org
 help / color / mirror / Atom feed
* [Ocfs2-devel] Non-sparse write fix -v4
@ 2009-08-06 23:12 Sunil Mushran
  2009-08-06 23:12 ` [Ocfs2-devel] [PATCH 1/1] ocfs2: Initialize the cluster we're writing to in a non-sparse extend Sunil Mushran
  0 siblings, 1 reply; 7+ messages in thread
From: Sunil Mushran @ 2009-08-06 23:12 UTC (permalink / raw)
  To: ocfs2-devel

So the problem with the last patch was that it did not handle blocksize < pagesize.
On a x86 box, with a 2K/4K file system, it was only initializing the first 2K block.

This fixes it.

Sunil

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [Ocfs2-devel] Non sparse init fix v3
@ 2009-08-03 18:13 Sunil Mushran
  2009-08-03 18:13 ` [Ocfs2-devel] [PATCH 1/1] ocfs2: Initialize the cluster we're writing to in a non-sparse extend Sunil Mushran
  0 siblings, 1 reply; 7+ messages in thread
From: Sunil Mushran @ 2009-08-03 18:13 UTC (permalink / raw)
  To: ocfs2-devel

One line fix from Joel's version. Also, some comments removed.

18:58 <sunil>         wc->w_first_new_cpos =
18:58 <sunil> -               ocfs2_align_bytes_to_clusters(inode->i_sb, i_size_read(inode));
18:58 <sunil> +               ocfs2_clusters_for_bytes(inode->i_sb, i_size_read(inode));

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [Ocfs2-devel] Non sparse extend init issue
@ 2009-08-02 20:04 Sunil Mushran
  2009-08-02 20:04 ` [Ocfs2-devel] [PATCH 1/1] ocfs2: Initialize the cluster we're writing to in a non-sparse extend Sunil Mushran
  0 siblings, 1 reply; 7+ messages in thread
From: Sunil Mushran @ 2009-08-02 20:04 UTC (permalink / raw)
  To: ocfs2-devel

The patch was created against a 1.4 tree. However, it applies cleanly to mainline too.

The patch has been lightly tested. I am running fill_verify_holes on a non sparse volume
currently.

Please review.

Sunil

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

end of thread, other threads:[~2009-08-07 20:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-06 23:12 [Ocfs2-devel] Non-sparse write fix -v4 Sunil Mushran
2009-08-06 23:12 ` [Ocfs2-devel] [PATCH 1/1] ocfs2: Initialize the cluster we're writing to in a non-sparse extend Sunil Mushran
2009-08-07 20:19   ` Joel Becker
  -- strict thread matches above, loose matches on Subject: below --
2009-08-03 18:13 [Ocfs2-devel] Non sparse init fix v3 Sunil Mushran
2009-08-03 18:13 ` [Ocfs2-devel] [PATCH 1/1] ocfs2: Initialize the cluster we're writing to in a non-sparse extend Sunil Mushran
2009-08-03 21:15   ` Mark Fasheh
2009-08-02 20:04 [Ocfs2-devel] Non sparse extend init issue Sunil Mushran
2009-08-02 20:04 ` [Ocfs2-devel] [PATCH 1/1] ocfs2: Initialize the cluster we're writing to in a non-sparse extend Sunil Mushran
2009-08-02 22:05   ` Joel Becker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.