* [Ocfs2-devel] Why do we read the blocks in __ocfs2_xxattr_set_value_outside()?
@ 2009-08-11 22:09 Joel Becker
2009-08-12 1:40 ` Tao Ma
0 siblings, 1 reply; 2+ messages in thread
From: Joel Becker @ 2009-08-11 22:09 UTC (permalink / raw)
To: ocfs2-devel
In __ocfs2_xattr_set_value_outside(), we walk each block of the
xattr value and read it before we copy the new data on top and dirty it.
Why are we reading the block from disk if we're just overwriting it?
Would't "sb_getblk(); ocfs2_set_buffer_uptodate()" work better?
Joel
--
"This is the end, beautiful friend.
This is the end, my only friend the end
Of our elaborate plans, the end
Of everything that stands, the end
No safety or surprise, the end
I'll never look into your eyes again."
Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-08-12 1:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-11 22:09 [Ocfs2-devel] Why do we read the blocks in __ocfs2_xxattr_set_value_outside()? Joel Becker
2009-08-12 1:40 ` Tao Ma
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.