[Drbd-dev] [PATCH-drbd9] compat patches

Nick Wang nwang at suse.com
Mon Jun 13 11:54:18 CEST 2016


Hi Lars,

Thanks for your review:)

>>> On 2016-6-13 at 17:19, in message <20160613091906.GI3235 at soda.linbit>, Lars
Ellenberg <lars.ellenberg at linbit.com> wrote:
> On Thu, Jun 09, 2016 at 10:39:46PM +0800, Nick Wang wrote:
> > [PATCH-drbd9] compat: i_mutex is replaced by i_rwsem
> 
> trivial, taken as is, though we need some backwards compat
> for some older kernels (anyways), due to
>    avoid error: 'inode_lock' redeclared as different kind of symbol
>
I thought have_inode_lock.c have already considering the old kernels, and inode_lock have already used in DRBD9.

> > [PATCH-drbd9] compat: blk_queue_flush() is replaced
> > [PATCH-drbd9] compat: nla_put_u64() is removed
> > [PATCH-drbd9] compat: align nla_put_u64
> 
> All solved in a slightly different way.
I learnt a lot from your code and can keep learning :)

> Still thank you for using v9 on "bleeding upstream" kernels :-)
lol, sorry for the early try. Just thought it need to compatible sooner or later, hoping my work can do little help in any cases.

Best regards,
Nick



More information about the drbd-dev mailing list